如何在远程服务器上的flv文件中获取youtube video uel的内容? [英] How to get content of youtube video uel in a flv file on Remote server ?
问题描述
如何在远程服务器上的flv文件中获取youtube video uel的内容?
例如:-
我有一个YouTube视频网址" https://www.youtube .com/v/xaxm2ddy0j8?version = 3& amp; f = user_uploads& amp = app = youtube_gdata [
我想要它的内容在video.flv文件中.
我尝试了以下方法,但它仅复制了90kbs的内容.
$ youtube_url = https://www.youtube.com/v /xaxm2ddy0j8?version = 3& amp; f = user_uploads& amp; app = youtube_gdata [
请帮助.......
How can I get the content of youtube video uel in a flv file on Remote server??
For ex:-
I have a youtube video url "https://www.youtube.com/v/xaxm2ddy0j8?version=3&f=user_uploads&app=youtube_gdata[^]"
and I want its content in video.flv file.
I have tried the following, but it just copied 90kbs of content.
$youtube_url = https://www.youtube.com/v/xaxm2ddy0j8?version=3&f=user_uploads&app=youtube_gdata[^]
file_put_contents("video.flv", file_get_contents($youtube_url));
Please help .......
推荐答案
youtube_url = ^ ]
file_put_contents("video.flv",file_get_contents(
youtube_url = https://www.youtube.com/v/xaxm2ddy0j8?version=3&f=user_uploads&app=youtube_gdata[^]
file_put_contents("video.flv", file_get_contents(
youtube_url));
请帮助.......
youtube_url));
Please help .......
以下是您可以使用的功能:
Following is the function u can use:
function GrabFlvFromYoutube(
这篇关于如何在远程服务器上的flv文件中获取youtube video uel的内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!