|
|
发表于 2025-11-27 22:30:53
|
显示全部楼层
问一下大神<?php
error_reporting(0);
$id = isset($_GET['id'])?$_GET['id']:'jncqxw';
$n = [
//济南
"jncqxw" => [171,2], //长清新闻 https://iapp.jncqrm.cn/share/dHZsLTE3MS0y.html
"jncqsh" => [171,20], //长清生活 https://iapp.jncqrm.cn/share/dHZsLTE3MS0yMA.html
"jnjrtv" => [303,1], //济铁电视台 https://jnjapp.jntlj.com/share/dHZsLTMwMy0x.html
"jnjyzh" => [85,1], //济阳综合 https://iapp.jiyangrongmei.cn/share/dHZsLTg1LTE.html
"jnjyys" => [85,2], //济阳影视 https://iapp.jiyangrongmei.cn/share/dHZsLTg1LTI.html
"jnlcxw" => [261,1], //历城新闻综合 https://iapp.ailicheng.cn/share/dHZsLTI2MS0x.html
"jnpyzh" => [257,1], //平阴综合 https://app.litenews.cn/share/dHZsLTI1Ny0x.html
"jnpyxc" => [257,3], //平阴乡村振兴 https://app.litenews.cn/share/dHZsLTI1Ny0z.html
"jnshzh" => [97,1], //商河综合 https://iapp.shxrmtzx.com/share/dHZsLTk3LTE.html
"jnshys" => [97,2], //商河影视 https://iapp.shxrmtzx.com/share/dHZsLTk3LTI.html
"jnzqzh" => [195,1], //章丘综合 https://app.litenews.cn/share/dHZsLTE5NS0x.html
"jnzqgg" => [195,2], //章丘公共 https://app.litenews.cn/share/dHZsLTE5NS0y.html
];
$d = json_decode(file_get_contents("https://app.litenews.cn/v1/app/play/tv/live?orgid=".$n[$id][0]),1);
foreach($d["data"] as $v) {
if($n[$id][1] == $v["id"])
$stream = $v["stream"];
}
header("Content-Type: application/vnd.apple.mpegurl");
header('location:'.$stream);
//echo $stream;
?>
txt列表我是这样的但是播放不了:长清新闻http://192.168.9.111:5080/sd.php?id=jncqxw |
|