通过视频的分享地址找到重要参数就很容易获取视频地址了$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

解决方案 »

  1.   

    通过视频的分享地址找到重要参数就很容易获取视频地址了
    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播放地址,不是视频文件地址。
      

  2.   

    几大视频网站都可以采集到视频本身及视频的flash地址