|
本帖最后由 guoma 于 2023-8-3 21:52 编辑
tide.php更新:
- <?php
- error_reporting(0);
- $ts = $_GET['ts'];
- if(!$ts){
- $id = isset($_GET['id'])?$_GET['id']:'jmzh';
- $n = [
- //哈尔滨
- 'byzh' => ['C353yf7','http://vod.center.hljtv.com/lsdream/'],//巴彦电视台
- //大庆
- 'ldzh' => ['hlX5Fq1','http://vod.center.hljtv.com/lsdream/'],//林甸综合
- //佳木斯
- 'fjzh' => ['aBbyTuU','http://vod.center.hljtv.com/lsdream/'],//富锦电视台
- 'fyzh' => ['e3Y027D','http://vod.center.hljtv.com/lsdream/'],//抚远电视台
- //绥化
- 'slzh' => ['FtWlsh9','http://vod.center.hljtv.com/lsdream/'],//绥棱综合
- //牡丹江
- 'dnzh' => ['7gf6a72','http://vod.center.hljtv.com/lsdream/'],//东宁综合
- 'lkzh' => ['WtA8HmB','http://vod.center.hljtv.com/lsdream/'],//林口综合
- 'mlzh' => ['wy7HG9x','http://vod.center.hljtv.com/lsdream/'],//穆棱综合
- 'sfhzh' => ['gS7S5pS','http://vod.center.hljtv.com/lsdream/'],//绥芬河综合
- //伊春
- 'jyzh' => ['1lqKC4B','http://vod.center.hljtv.com/lsdream/'],//嘉荫综合
- 'tlzh' => ['QgOu88F','http://vod.center.hljtv.com/lsdream/'],//铁力综合
- //齐齐哈尔
- 'bqzh' => ['YzE2bEx','http://vod.center.hljtv.com/lsdream/'],//拜泉综合
- 'kdzh' => ['IXo0qbO','http://vod.center.hljtv.com/lsdream/'],//克东综合
- 'ljzh' => ['nznfTV8','http://vod.center.hljtv.com/lsdream/'],//龙江综合
- 'nhzh' => ['Ig4YRW0','http://vod.center.hljtv.com/lsdream/'],//讷河综合
- 'tailzh' => ['on7sNau','http://vod.center.hljtv.com/lsdream/'],//泰来综合
- 'yazh' => ['1szOvMr','http://vod.center.hljtv.com/lsdream/'],//依安综合
- //七台河
- 'blzh' => ['sikQfzJ','http://vod.center.hljtv.com/lsdream/'],//勃利综合
- // 双鸭山
- 'yyzh' => ['d037rmI','http://vod.center.hljtv.com/lsdream/'],//友谊综合
- //山西台
- 'sxiws' => ['q8RVWgs','https://livehhhttps.sxrtv.com/lsdream/'],//山西卫视
- 'sxjj' => ['4j01KWX','https://livehhhttps.sxrtv.com/lsdream/'],//山西经济
- 'sxys' => ['Md571Kv','https://livehhhttps.sxrtv.com/lsdream/'],//山西影视
- 'sxshfz' => ['p4y5do9','https://livehhhttps.sxrtv.com/lsdream/'],//山西社会与法治
- 'sxwtsh' => ['Y00Xezi','https://livehhhttps.sxrtv.com/lsdream/'],//山西文体生活
- 'sxhh' => ['lce1mC4','https://livehhhttps.sxrtv.com/lsdream/'],//山西黄河
- //大连台
- 'dlzh' => ['tcb3IB5','http://live.dltv.cn/'],//大连新闻综合
- 'dlsh' => ['JzcFkF4','http://live.dltv.cn/'],//大连生活
- 'dlwt' => ['hxT7Fc3','http://live.dltv.cn/'],//大连文体
- 'dlzhys' => ['8cuL6wa','http://live.dltv.cn/'],//大连综合影视
- 'dlse' => ['q6tZ6Ba','http://live.dltv.cn/'],//大连少儿
- 'dlgw' => ['N4S4uAj','http://live.dltv.cn/'],//大连天鹅购物
- //陕西
- 'sxws' => ['X6feiLQ','http://live.sxtvs.com.cn/lsdream/'],//陕西卫视
- 'sxxwzx' => ['SeT8Mem','http://live.sxtvs.com.cn/lsdream/'],//陕西新闻资讯
- 'sxdsqc' => ['zAJprk2','http://live.sxtvs.com.cn/lsdream/'],//陕西都市青春
- 'sxtyxx' => ['LLhVrGZ','http://live.sxtvs.com.cn/lsdream/'],//陕西体育休闲
- 'sxsh' => ['a73O8Sd','http://live.sxtvs.com.cn/lsdream/'],//陕西生活
- 'sxgg' => ['8aCj3gK','http://live.sxtvs.com.cn/lsdream/'],//陕西公共
- 'sxyd' => ['Au7pR2j','http://live.sxtvs.com.cn/lsdream/'],//陕西移动
- 'xaxwzh' => ['BmS21Wa','http://live.sxtvs.com.cn/lsdream/'],//西安新闻综合
- 'ylxwzh' => ['EQiV8hZ','http://live.sxtvs.com.cn/lsdream/'],//榆林新闻综合
- 'xyxwzh' => ['9xmmLy4','http://live.sxtvs.com.cn/lsdream/'],//咸阳新闻综合
- 'yaxwzh' => ['14c199y','http://live.sxtvs.com.cn/lsdream/'],//延安新闻综合
- 'tcxwzh' => ['78d3NMg','http://live.sxtvs.com.cn/lsdream/'],//铜川新闻综合
- 'akxwzh' => ['ebUpMpG','http://live.sxtvs.com.cn/lsdream/'],//安康新闻综合
- 'wnxwzh' => ['BmSLiAx','http://live.sxtvs.com.cn/lsdream/'],//渭南新闻综合
- 'slxwzh' => ['21HiFQt','http://live.sxtvs.com.cn/lsdream/'],//商洛新闻综合
- 'ylinxwzh' => ['Uys5UFs','http://live.sxtvs.com.cn/lsdream/'],//杨凌新闻综合
- 'hzxwzh' => ['mul2l4m','http://live.sxtvs.com.cn/lsdream/'],//汉中新闻综合
- //太原台
- 'tyxwzh' => ['49VAfrw','http://tytv-tsl.cutv.com/'],//太原新闻综合
- 'tyjjsh' => ['u8BmT6h','http://tytv-tsl.cutv.com/'],//太原经济生活
- 'tysjfz' => ['phsry3e','http://tytv-tsl.cutv.com/'],//太原社教法制
- 'tyys' => ['J4EX72D','http://tytv-tsl.cutv.com/'],//太原影视
- 'tywt' => ['rk8Z088','http://tytv-tsl.cutv.com/'],//太原文体
- 'tyblg' => ['iancgyD','http://tytv-tsl.cutv.com/'],//太原佰乐购
- 'tycssh' => ["i88rmGU","http://tytv-tsl.cutv.com/"],//太原城市生活
- 'tyjy' => ["g4XtSCF","http://tytv-tsl.cutv.com/"],//太原教育
- //汕头台
- 'stxwzh' => ['lKGXIQa','https://sttv-tsl.cutv.com/'],//汕头新闻综合
- //珠海台
- 'zhxw' => ['zZGtroL','http://zhtv-tsl.cutv.com/'],//珠海新闻
- 'zhsh' => ['HtyU8ou','http://zhtv-tsl.cutv.com/'],//珠海生活
- //合肥
- 'hfxw' => ['pdq062k','http://223.244.92.30:808/lsdream/'],//合肥新闻
- 'hfcj' => ['FRTSshY','http://223.244.92.30:808/lsdream/'],//合肥财*
- 'hfgg' => ['pytL5lE','http://223.244.92.30:808/lsdream/'],//合肥公共
- 'hfxx' => ['q66ojce','http://223.244.92.30:808/lsdream/'],//合肥故事休闲
- 'hfjy' => ['5EfK6HI','http://223.244.92.30:808/lsdream/'],//合肥教育法治
- //江门
- 'jmzh' => ['4x3T0dO','http://tidelive.jmtv.cn/lsdream/'],//江门综合
- 'jmqxsh' => ['qzohscw','http://tidelive.jmtv.cn/lsdream/'],//江门侨乡生活
- //贵州
- 'asxwzh' => ['dgvw125','http://relay.gzastv.cn/lsdream/'],//安顺新闻综合
- 'asgg' => ['fyTCmjn','http://relay.gzastv.cn/lsdream/'],//安顺公共
- ];
- $m = [
- //深圳台
- 'szws' => 'AxeFRth',//深圳卫视
- 'szyl' => '1q4iPng',//深圳娱乐
- 'szse' => '1SIQj6s',//深圳少儿
- 'szgg' => '2q76Sw2',//深圳公共
- 'szcjsh' => '3vlcoxP',//深圳财*生活
- 'szdsj' => '4azbkoY',//深圳电视剧
- 'szds' => 'ZwxzUXr',//深圳都市
- 'szgj' => 'sztvgjpd',//深圳国际
- 'szyd' => 'wDF6KJ3',//深圳移动
- 'yhgw' => 'BJ5u5k2',//宜和购物
- 'sztyjk' => 'sztvtyjk',//深圳体育健康
- ];
- if($n[$id]){
- $p = file_get_contents("http://lu1.cc/c/tv/php/pname.php?id=".$n[$id][0]);
- $playurl = $n[$id][1].$n[$id][0].'/'.$p.'.m3u8';
- header('Content-Type: application/vnd.apple.mpegurl');
- header('Location:'.$playurl);
- //echo $playurl;
- }
- if($m[$id]){
- $t = time();
- $p = file_get_contents("http://lu1.cc/c/tv/php/pname.php?id=".$m[$id]);
- $sign = md5('bf9b2cab35a9c38857b82aabf99874aa96b9ffbb/'.$m[$id].'/500/'.$p.'.m3u8'.dechex($t));
- $m3u8 = 'https://sztv-live.cutv.com/'.$m[$id].'/500/'.$p.'.m3u8?sign='.$sign.'&t='.dechex($t);
- $burl = "https://sztv-live.cutv.com/{$m[$id]}/500/";
- header('Content-Type: application/vnd.apple.mpegurl');
- print_r(preg_replace("/(.*?.ts)/i","http://".$_SERVER[HTTP_HOST].$_SERVER[PHP_SELF]."?ts=$burl$1",m3u8($m3u8)));
- }
- } else {
- $d = ts($ts);
- header('Content-Type: video/MP2T');
- echo $d;
- }
- function m3u8($url){
- $ch = curl_init($url);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
- curl_setopt($ch, CURLOPT_HTTPHEADER,["User-Agent: Mozilla/5.0","referer: [url]https://www.sztv.com.cn/[/url]"]);
- curl_setopt($ch, CURLOPT_REFERER, "https://www.sztv.com.cn/");
- $data = curl_exec($ch);
- curl_close($ch);
- return $data;
- }
- function ts($url){
- $ch = curl_init($url);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
- curl_setopt($ch, CURLOPT_HTTPHEADER,["User-Agent: Mozilla/5.0","referer: [url]https://www.sztv.com.cn/[/url]"]);
- curl_setopt($ch, CURLOPT_REFERER, "https://www.sztv.com.cn/");
- $data = curl_exec($ch);
- curl_close($ch);
- }
- ?>
复制代码
|
评分
-
查看全部评分
|