美国主机33/年 广告招租 广告招租
↑优惠码qihaa25↑ 广告招租 广告招租
当前位置: 首页 直播源代理 正文

浙江杭州电视台代理源码

奇哈 |

今日提供浙江杭州电视台的官方代理源码,希望大家通过现成的代码可以举一反三,自己试着尝试写写代码。

今日代码共计6个杭州电视台

演示如下:

杭州一套,http://hls.dszbdq.cn/zjhz.php?id=hztv1
杭州二套,http://hls.dszbdq.cn/zjhz.php?id=hztv2
杭州三套,http://hls.dszbdq.cn/zjhz.php?id=hztv3
杭州四套,http://hls.dszbdq.cn/zjhz.php?id=hztv4
杭州五套,http://hls.dszbdq.cn/zjhz.php?id=hztv5
杭州六套,http://hls.dszbdq.cn/zjhz.php?id=hztv6

代理源码如下:

<?php
$id=$_GET['id'];
if($id==null){$id="hztv4";}
$ids = array(
"hztv1"=>"http://www.hoolo.tv/m2o/player/drmh.php?hash=118d048323937ad4847101d1f8621581&refererurl=http%3A%2F%2Ftv%2Ehoolo%2Etv%2Fhzzh%2F&playerVersion=4%2E03&url=http%3A%2F%2Fstream1%2Ehoolo%2Etv%2Fhztv1%2Fsd%2Flive%2Em3u8&time=1572585910563",//杭州新闻
"hztv2"=>"http://www.hoolo.tv/m2o/player/drmh.php?refererurl=http%3A%2F%2Ftv%2Ehoolo%2Etv%2Fxhmz%2F&playerVersion=4%2E03&url=http%3A%2F%2Fstream1%2Ehoolo%2Etv%2Fhztv2%2Fsd%2Flive%2Em3u8&hash=ba7c1604a9dcfafa45b453cd8f0de056&time=1572585956537",//杭州西湖明珠
"hztv3"=>"http://www.hoolo.tv/m2o/player/drmh.php?refererurl=http%3A%2F%2Ftv%2Ehoolo%2Etv%2Fhzsh%2F&playerVersion=4%2E03&url=http%3A%2F%2Fstream1%2Ehoolo%2Etv%2Fhztv3%2Fsd%2Flive%2Em3u8&time=1572586017619&hash=60ea71217ad3633a1c8cf46832428489",//杭州生活
"hztv4"=>"http://www.hoolo.tv/m2o/player/drmh.php?playerVersion=4%2E03&url=http%3A%2F%2Fstream1%2Ehoolo%2Etv%2Fhztv4%2Fsd%2Flive%2Em3u8&hash=84bdfc38a3e502fff2f315ec5cd18d8c&time=1572586074077&refererurl=http%3A%2F%2Ftv%2Ehoolo%2Etv%2Futv%2F",//杭州影视
"hztv5"=>"http://www.hoolo.tv/m2o/player/drmh.php?hash=54ed1968ba400cfffc92baa3377bd02c&refererurl=http%3A%2F%2Ftv%2Ehoolo%2Etv%2Fhzse%2F&playerVersion=4%2E03&url=http%3A%2F%2Fstream1%2Ehoolo%2Etv%2Fhztv5%2Fsd%2Flive%2Em3u8&time=1572586140910",//杭州少儿
"hztv6"=>"http://www.hoolo.tv/m2o/player/drmh.php?refererurl=http%3A%2F%2Ftv%2Ehoolo%2Etv%2Fwhpd%2F&url=http%3A%2F%2Fstream1%2Ehoolo%2Etv%2Fhztv6%2Fsd%2Flive%2Em3u8&time=1572586202557&playerVersion=4%2E03&hash=b185f017649d4f8f74ad3d07bc344c4d",//杭州导视
"hzfy"=>"http://www.hoolo.tv/m2o/player/drmh.php?url=http%3A%2F%2Fstream1%2Ehoolo%2Etv%2Ffyxwzh%2Fsd%2Flive%2Em3u8&hash=37f1d6dd0fb73f2df8291d0f782aafdf&playerVersion=4%2E03&refererurl=http%3A%2F%2Fplayer%2Ehoge%2Ecn%2Fplayer%2Eswf%3FchannelId%3D47%26config%3D46live%2Exml&time=1585313320240",//杭州富阳新闻综合
); 
$url="$ids[$id]";
$str=file_get_contents($url);
header('Location:'.$str);
?>

声明:原创文章请勿转载,如需转载请注明出处!