最新江苏省各市地方台电视直播源及代理源码
=== 南京地区频道 ===南京新闻综合官方,https://nklive.nbs.cn/hls/d511bc9d-a694-4453-b3a2-4fc842cc97a1/index.m3u8南京新闻综合咪咕,https://live.chinacert.cftest5.cn/mg/?id=838109047南京教科官方,https://nklive.nbs.cn/hls/75b3c462-b831-4de7-a34b-5d3221db2069/index.m3u8南京文旅官方,https://nklive.nbs.cn/hls/9b2005c4-046c-422f-ba45-e6adc4f4de07/index.m3u8南京少儿官方,https://nklive.nbs.cn/hls/e0981f3f-1a20-4a59-b8d1-17feb83a4610/index.m3u8南京18官方,https://nklive.nbs.cn/hls/1173a815-bfdb-4c3c-9f73-89ec37ae7716/index.m3u8南京18咪咕,https://live.chinacert.cftest5.cn/mg/?id=838151753南京溧水,https://live.chinacert.cftest5.cn/mg/?id=639737327南京六合,http://p2hs.vzan.com/720020/432453820030502236/live.m3u8南京江宁,https://jiangning-tv-hls.cm.jstv.com/jiangning-tv/jnxwzh.m3u8=== 无锡地区频道 ===无锡江阴,https://live.chinacert.cftest5.cn/mg/?id=955227979无锡宜兴,http://yixing-tv-ori-hls.jstv.com/yixing-tv-ori/yixing_xw.m3u8无锡宜兴咪咕,https://live.chinacert.cftest5.cn/mg/?id=955227996=== 徐州地区频道 ===徐州1,https://pull.nicewifi.cn/live/xztv01.m3u8徐州2,https://pull.nicewifi.cn/live/xztv02.m3u8徐州3,https://pull.nicewifi.cn/live/xztv03.m3u8徐州4,https://pull.nicewifi.cn/live/xztv04.m3u8徐州贾汪新闻,https://jiawang-tv-replay.cm.jstv.com/jiawang-tv/jwxw.m3u8徐州贾汪旅游,https://jiawang-tv-replay.cm.jstv.com/jiawang-tv/jwly.m3u8徐州睢宁综合,https://suining-tv-hls.cm.jstv.com/suining-tv/suiningzh.m3u8徐州睢宁综合2,http://3739115311.cloudvdn.com/a.m3u8?domain=suining-tv-hls.cm.jstv.com&player=TwMAAPjPskOkJ6kX&secondToken=secondToken%3AjegfwzYXwUE9HzG7kRfhCd81WMU&streamid=suining-tv%3Asuining-tv%2Fsuiningzh&v3=1&zjiangsd=徐州睢宁三农,https://suining-tv-hls.cm.jstv.com/suining-tv/suiningsn.m3u8徐州铜山1,http://tv.sohu.blog/d/jsxzts.php?id=10徐州铜山2,http://tv.sohu.blog/d/jsxzts.php?id=9=== 常州地区频道 ===常州新闻综合,https://livekcz.cztv.tv/kcz/cztv1.m3u8?auth_key=1763273772-0-0-ce375d795ff6fb58e095e033ac55b17f常州武进新闻综合,https://live.wjyanghu.com/live/CH1.m3u8常州武进生活频道,https://live.wjyanghu.com/live/CH2.m3u8=== 苏州地区频道 ===苏州1套新闻综合,https://live-auth.51kandianshi.com/szgd/csztv1.m3u8苏州2套社会经济,https://live-auth.51kandianshi.com/szgd/csztv2.m3u8苏州2套社会经济2,https://stream1.freetv.fun/su-zhou-she-hui-jing-ji-2.m3u8苏州3套文化生活,https://live-auth.51kandianshi.com/szgd/csztv3.m3u8苏州4套电影娱乐信息,https://live-auth.51kandianshi.com/szgd/csztv4.m3u8苏州5套生活资讯,https://live-auth.51kandianshi.com/szgd/csztv5.m3u8苏州5套生活资讯2,https://stream1.freetv.fun/su-zhou-sheng-huo-zi-xun-2.m3u8苏州张家港新闻综合,http://3gvod.zjgonline.com.cn:1935/live/_definst_/xinwenzonghe_app/chunklist.m3u8苏州张家港民生,http://3gvod.zjgonline.com.cn:1935/live/_definst_/shehuishenghuo_app/chunklist.m3u8苏州吴江新闻综合,https://ctlive2.wjdaily.com/wjtv/ch1.m3u8苏州昆山新闻综合,https://tv.sohu.blog/d/jsks.php=== 南通地区频道 ===南通新闻综合,http://tv.sohu.blog/d/jsnt.php?id=1南通新闻综合2,https://live.chinacert.cftest5.cn/mg/?id=955227985南通2套社教频道,http://tv.sohu.blog/d/jsnt.php?id=2南通3套公共频道,http://tv.sohu.blog/d/jsnt.php?id=3海门新闻综合,http://haimen-tv-hls.cm.jstv.com/haimen-tv/haimenxwzh.m3u8海门经济生活,http://haimen-tv-hls.cm.jstv.com/haimen-tv/haimenjjzh.m3u8海门教育人文,http://haimen-tv-hls.cm.jstv.com/haimen-tv/haimenjyrw.m3u8如东新闻综合,https://rudong-tv-hls.cm.jstv.com/rudong-tv/rdxwzh.m3u8如东2,https://rudong-tv-replay.cm.jstv.com/rudong-tv/rdxwzh.m3u8=== 连云港地区频道 ===连云港新闻综合,https://live.chinacert.cftest5.cn/mg/?id=639731715赣榆电视台,https://ganyu-tv-hls.cm.jstv.com/ganyu-tv/ganyutv.m3u8=== 淮安地区频道 ===淮安新闻综合,https://live.chinacert.cftest5.cn/mg/?id=639731826淮阴新闻综合,https://huaiyin-tv-replay.cm.jstv.com/huaiyin-tv/huaiyinf.m3u8淮安涟水,https://lianshui-tv-hls.cm.jstv.com/lianshui-tv/lsxw.m3u8淮安金湖,https://jinhu-tv-hls.cm.jstv.com/jinhu-tv/jinhuzh.m3u8=== 盐城地区频道 ===盐城新闻综合,https://live.chinacert.cftest5.cn/mg/?id=639731825大丰1套,https://dafeng-tv-hls.cm.jstv.com/dafeng-tv/dafengyt.m3u8大丰2套,https://dafeng-tv-hls.cm.jstv.com/dafeng-tv/dafenget.m3u8东台,https://dongtai-tv-hls.cm.jstv.com/dongtai-tv/dongtaizonghe.m3u8=== 扬州地区频道 ===高邮,http://gaoyou-tv-hls.cm.jstv.com/gaoyou-tv/gaoyouxw.m3u8=== 镇江地区频道 ===镇江新闻综合,https://zjtv-wshls.homecdn.com/live/2aa50.m3u8镇江民生,http://zjtv-wshls.homecdn.com/live/2aa16.m3u8句容综合,http://jrlive.jrntv.com/live/jrxwzh/playlist.m3u8句容生活,http://jrlive.jrntv.com/live/shenghuo/playlist.m3u8句容影视,http://jrlive.jrntv.com/live/yingshi/playlist.m3u8句容党建,http://jrlive.jrntv.com/live/dangjian/playlist.m3u8=== 泰州地区频道 ===泰州新闻综合,https://live.chinacert.cftest5.cn/mg/?id=639731818靖江新闻频道,http://visit.jjbctv.com:1935/live/xwzhmb/playlist.m3u8=== 宿迁地区频道 ===宿迁综合,https://live.chinacert.cftest5.cn/mg/?id=639731832泗阳综合,https://siyang-tv-hls.cm.jstv.com/siyang-tv/siyangzh.m3u8泗阳资讯,https://siyang-tv-hls.cm.jstv.com/siyang-tv/siyangzx.m3u8沭阳,https://shuyang-tv-hls.cm.jstv.com/shuyang-tv/shuyangzh.m3u8宿豫,https://suyu-tv-hls.cm.jstv.com/suyu-tv/syzhpd.m3u8
<?php$info=file_get_contents("https://www.ksrmtzx.com/telecast/shiting/1");preg_match('/data-play="(.*?)"/i',$info,$sn);$playurl=$sn[1];header('location:'.urldecode($playurl));?>
<?php// 设置字符集和跨域头更多请访问 tv.sohu.blogheader('Access-Control-Allow-Origin: *');header('Content-Type: text/plain; charset=utf-8');// 获取频道ID参数$channelId = isset($_GET['id']) ? $_GET['id'] : '';// 验证频道IDif(empty($channelId)) {echo '错误: 缺少必要参数 id';exit;}// 验证ID是否为数字if(!is_numeric($channelId)) {echo '错误: 频道ID必须为数字';exit;}// 构建请求URL - 使用动态ID参数$url = "http://mapi.tstvxmt.com/api/v1/channel.php?channel_id={$channelId}";// 设置文件获取上下文,添加User-Agent以避免被屏蔽$context = stream_context_create(['http' => ['header' => "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36\r\n",'timeout' => 10],'ssl' => ['verify_peer' => false,'verify_peer_name' => false]]);// 获取页面内容$info = @file_get_contents($url, false, $context);// 检查是否成功获取内容if($info === false) {echo '错误: 无法获取页面内容';exit;}// 使用正则表达式提取m3u8属性值if(preg_match('/"m3u8":"(.*?)"/i', $info, $sn)) {$playurl = $sn[1];// 移除URL中的反斜杠$playurl = str_replace('\\', '', $playurl);// 使用header重定向到直播源URLheader('location:'.urldecode($playurl));} else {echo '错误: 无法从页面中提取m3u8直播源';}exit;
夜雨聆风
