下载 You Tube 视频? [英] Downloading You tube videos?
问题描述
我想以编程方式(使用 Java)下载您的 Tube 视频.我如何将您的 Tube 视频链接转换为可下载的 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.
我尝试从 URL http://www.youtube.com/v/OdAE3cWlmHw 下载但它没有返回视频字节.
I tried downloading from URL http://www.youtube.com/v/OdAE3cWlmHw but it is not returning video bytes.
谢谢拉利特
推荐答案
Youtube API 允许您搜索 &列出视频并获取mediaplayer URL,以便在网页内播放视频
Youtube API allows you to search & list videos and obtain the mediaplayer URL, so that you can play videos within your web page
它不允许您下载视频的字节内容 - 因为 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.
您的 API 客户端不会,并且您不会鼓励或创建您的用户或其他第三方的功能:
...
- 单独宣传通过 YouTube API 提供的任何 YouTube 视听内容的音频或视频部分;
- 通过明确使用 YouTube 播放器或其他视频播放器以外的任何方式访问任何 YouTube 视听内容的任何部分经 YouTube 授权;
- 存储 YouTube 视听内容的副本;
...
这篇关于下载 You Tube 视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!