因为cctv发现之旅没找到频道号,原有的624878969和624878970提示被外星人抓走
但是单独拎出来还麻烦 就像单独使用静态地址 http://218.98.16.2:8088/live.hcs ... m3u8?&encrypt=1
我该怎么写?按照群里大神发的源码,自己没学过php 瞎猫碰死耗子失败了
前来教高人
$id=$_GET["id"];
$url="https://yk.miguvideo.com/playurl/v1/play/playurlh5?rateType=3&contId=$id";
$fxzlurl="http://218.98.16.2:8088/live.hcs.cmvideo.cn:8088/wd_r3/cnr/faxianzhilv/2000/index.m3u8?&encrypt=1";
$ch=curl_init();
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,9);
$data=curl_exec($ch);
curl_close($ch);
preg_match('/"url":"(.*?)"/i',$data,$sn);
if ($id="624878969") {
header('location:'.$fxzlurl);
} else {
header('location:'.$sn[1]);
}
?>
这样写全变成发现之旅的了
发帖注意事项
请勿胡乱发帖:https://www.right.com.cn/forum/thread-8307840-1-1.html
账户手机验证:https://www.right.com.cn/forum/home.php?mod=spacecp&ac=plugin&id=jzsjiale_sms:home
|