通过视频的分享地址找到重要参数就很容易获取视频地址了$url='http://yule.iqiyi.com/20120619/b2184d4155a5a856.html';
$contents=file_get_contents($url);
preg_match('/"videoId":"([^"]+)"/',$contents,$match);echo 'http://player.video.qiyi.com/'.$match[1]; //这就是你要采集的视频URL
$contents=file_get_contents($url);
preg_match('/"videoId":"([^"]+)"/',$contents,$match);echo 'http://player.video.qiyi.com/'.$match[1]; //这就是你要采集的视频URL
PHP code?12345 $url='http://yule.iqiyi.com/20120619/b2184d4155a5a856.html'; $contents=file_get_contents($url); preg_match('/"videoId":"([^"]+)"/',$contents,$match); echo 'http://player.video.qiyi.com/'.$match[1]; //这就是你要采集的视频URL
----------------------------------------------
----------------------------------------------
这个不是的,这个是flash播放地址,不是视频文件地址。