江西电视台官方PHP代理源码

江西电视台官方PHP代理源码

演示:

江西卫视,http://iptv.ye23.win/dl2020/jxtv.php?id=jxtv1
ID:
jxtv1 ~ 至 ~jxtv8 ~ fsgw ~  taoci~ jxtv3_hd ~
<?php 
$id=$_GET['id'];
$t = time();
if (!$id){exit();}
ini_set('user_agent','Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; GreenBrowser)');
$url='https://app.jxntv.cn/Qiniu/liveauth/getAuth.php?t=$t';
$uri=file_get_contents($url);
preg_match('|"token":"(.*?)",|',$uri,$a);
preg_match('|"t":(.*?}|',$uri,$b);
$token=$a[1];
$m3u8="https://live.jxtvcn.com.cn/live-jxtv/tv_".$id.".m3u8?token=$token&t=$t";
header('location:'.urldecode($m3u8));
?>

转载是出于传递更多信息之目的。若有来源标注错误或侵犯了您的合法权益,请作者持权属证明与本网联系,我们将及时更正、删除,谢谢。:YE23 简单点幸福些 » 江西电视台官方PHP代理源码

赞 (0)