如何从YouTube视频的FLV网址 [英] How to get flv url from youtube videos

查看:223
本文介绍了如何从YouTube视频的FLV网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,我知道这个问题太旧和重复,但考虑到YouTube的API性质的变化和它的各种重presentational结构的保持,我想提出这个问题一次。
我怎样才能获得FLV的在YouTube的视频网址。
请给我建议的链接或方式或code(Java的巨蟒çpreferred)。
三江源

Hey I know this question is too old and repetitive but keeping in account of the changing nature of the youtube API and its various representational structure I would like to pose this question once more. How can I get .flv url of the video of the youtube. Please suggest me links or ways or code (java python c preferred). Thankyou

推荐答案

嘿,我才知道如何获得的FLV网址

Hey I got to know how to get the .flv url

步骤:

1.GOTO的https://www.youtube.com/get_video_info?asv=3&el=detailpage&hl=en_US&video_id=\" + VIDEOID;

1.GOTO https://www.youtube.com/get_video_info?asv=3&el=detailpage&hl=en_US&video_id=" + videoID;

2.in来自上述步骤中得到的源文件会有一个参数

2.in the source file obtained from above step there will be a parameter

3.Access此参数,并且去code,并瞧的URLvarialble!

3.Access the "url" varialble of this parameter and decode it and Voila!

请不工作按上述方法 http://superuser.com/a/773998

这篇关于如何从YouTube视频的FLV网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆