代码是错的。谁能修改好啊~~让它默认下载最清晰的那种格式的。
能弄好的PM我价格吧 或者我还有个MINKDOG的VPS 768内存的的可以续费一哈子再转给你- - $b){

  • if($a%4 == 1){
  • $return[$b] = $content[$a+2];
  • }
  • }
  • return $return;
  • }
  • function download_有图比($url,$filename){ //真正下载的程式
  • $fh = fopen($filename.'.flv', 'w+');
  • $ch = curl_init();
  • curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  • - curl_setopt($ch, CURLOPT_URL,$url);
  • curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);//有图比 可能有转址
  • curl_setopt($ch, CURLOPT_FILE,$fh);
  • curl_exec($ch);
  • fclose($fh);
  • }
  • ?>
  • 复制代码