如何从YouTube获取视频下载链接? [英] How to get video download link from youtube?

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

问题描述

我到处搜寻,却一无所获。
好​​吧,这不是完全正确的,事实上,互联网上有很多解决方案(即使在stackoverflow上也是如此),它们如何获取youtube视频的下载链接,但是其中没有一个可以使用了,

I searched far and wide and came up with nothing. Ok, that is not completely true, there are in fact tons of solutions on the Internet (even here on stackoverflow) on how to get a download link for youtube video, but not a single one of them is working anymore, since youtube seems keep changing things all the time.

我想做的是编写一个PHP脚本,该脚本将能够从指定的youtube页面下载视频,然后将其保存为flv或mp4格式。

What I want to do, is to write a PHP script which will be able to download video from specified youtube page and then save it on the server in flv or mp4 format.

我可以通过下载以下视频获取一些视频信息: http://www.youtube.com/get_video_info?&video_id=VIDEO_ID

I can get some video information by downloading this: http://www.youtube.com/get_video_info?&video_id=VIDEO_ID

但是就这样,无论我做什么,我都无法弄清楚如何找到指向视频下载的链接。

But thats about it, no matter what I do, I just cannot figure out how find the link pointing to the video download.

我尝试使用此链接:< a href = http://youtube.com/get_video?video_id=VIDEO_ID&t=TOKEN&fmt=18&asv=2 rel = nofollow> http://youtube.com/get_video?video_id=VID我发现的另一个最新解决方案中的EO_ID& t = TOKEN& fmt = 18& asv = 2 ,但是其中缺少某些内容,或者它已经完全过时了。

I tried to use this link: http://youtube.com/get_video?video_id=VIDEO_ID&t=TOKEN&fmt=18&asv=2 from one more recent solution I found, but either there is something missing in it, or it's completely outdated already too.

那么我该如何挖掘一些可从youtube直接下载视频的有效链接?

So how can I dig out some working link for direct video download from youtube?

必须有某种方法,因为有某些提供此服务的网页。

There has to be some way to do it, since there are some web pages out there which provide this service.

谢谢您的任何建议。

推荐答案

我希望RealPlayer从youtube和metacafe,funnyordie等其他视频共享站点下载视频。您可以下载mp4或flv格式,保存它们,然后随时查看。.即使您不在线也很适合旅行。 http://www.real.com/realdownloader

I prefer RealPlayer to download videos from youtube and other video sharing sites like metacafe, funnyordie and others. You're able to download in both mp4 or flv format, save them, and view them whenever you'd like.. even if you're not online which is great for travel. http://www.real.com/realdownloader

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

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