下载你管视频? [英] Downloading You tube videos?
问题描述
我想以编程方式(使用Java)下载你的管子视频。我如何将您的管视频链接转换为可下载的URL。
I want to download you tube videos programatically (using Java). How can i convert you tube video link to a downloadable URL.
浏览器播放带有以下代码的YouTube视频。
Browser plays youtube videos with following code.
我尝试从网址 http://www.youtube.com/v/OdAE3cWlmHw 下载
但是没有返回视频字节。
I tried downloading from URL http://www.youtube.com/v/OdAE3cWlmHw but it is not returning video bytes.
感谢
Lalit
Thanks Lalit
推荐答案
Youtube API允许您搜索&列出视频并获取媒体播放器网址,以便您可以在网页中播放视频
Youtube API allows you to search & list videos and obtain the mediaplayer URL, so that you can play videos within your web page
Youtube Java Data API - 搜索和列表视频
它不允许您下载视频的字节内容 - 因为Google正在保护自己的权利和内容创作者的权利。
It does not allow you to download the byte content of videos - because Google is protecting their own rights and the rights of the content creators.
Google API服务条款
禁止:
您的API客户端将不会,您也不会为您创建
功能用户或其他第三方:
...
Your API Client will not, and You will not encourage or create
functionality for Your users or other third parties to:
...
- 单独宣传音频或通过YouTube API提供的任何YouTube视听内容的视频组件;
- 以任何方式访问任何YouTube视听内容的任何部分,而不是使用YouTube播放器或其他视频播放器明确地由YouTube授权的
; - 存储YouTube视听内容的副本;
...
- promote separately the audio or video components of any YouTube audiovisual content made available through the YouTube API;
- access any portion of any YouTube audiovisual content by any means other than use of a YouTube player or other video player expressly authorized by YouTube;
- store copies of YouTube audiovisual content;
...
这篇关于下载你管视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!