• 常用
  • 百度
  • google
  • 站内搜索

直播源发布

百世通代理源码分享

  • 更新日期:2020-01-03
  • 查看次数:628

无意间发现了一款代理直播源分享软件:代理猎手(好像免费版本不能访问了),之前能访问的时候下载了一些源码,今天分享百世通代理源码,希望对喜欢写代理的朋友有帮助


<?php

$id = $_REQUEST['id'];

$ids = array(

    "cctv1hd" => "cctv1hd",

    "bjwshd" => "bjwshd",

    "hnwshd" => "hnwshd",

    "jswshd" => "jswshd",

    "zjwshd" => "zjwshd",

    "gdwshd" => "gdwshd",

    "szwshd" => "szwshd",

    "hljwshd" => "hljwshd",

    "hbwshd" => "hbwshd",

    "sdwshd" => "sdwshd",

    "dfwshd" => "hddfws",

"wxtyhd" => "ssty",

    "cctv1" => "cctv1hd",

    "bjws" => "bjwshd",

    "hnws" => "hnwshd",

    "jsws" => "jswshd",

    "zjws" => "zjwshd",

    "gdws" => "gdwshd",

    "szws" => "szwshd",

    "hljws" => "hljwshd",

    "hbws" => "hbwshd",

    "sdws" => "sdwshd",

    "dfws" => "hddfws",

    "cctv2" => "cctv2",

    "cctv3" => "cctv3",

    "cctv4" => "cctv4",

    "cctv5" => "cctv5",

    "cctv6" => "cctv6",

    "cctv7" => "cctv7",

    "cctv8" => "cctv8",

    "cctv10" => "cctv10",

    "cctv11" => "cctv11",

    "cctv12" => "cctv12",

    "cctv13" => "cctvxw",

    "cctv14" => "cctvse",

    "cctv15" => "cctvyy",

    "dfws" => "dfws",

    "haws" => "hnws",

    "jlws" => "jlws",

    "dnws" => "dnws",

    "ahws" => "ahws",

    "jxws" => "jxws",

    "gxws" => "gxws",

    "lnws" => "lnws",

    "jlws" => "jlws",

    "cqws" => "cqws",

    "gzws" => "gzws",

    "scws" => "scws",

    "tjws" => "tjws",

    "nmgws" => "nmgws",

    "hews" => "hbws",

    "xjws" => "xjws",

    "gsws" => "gsws",

    "ynws" => "ynws",

    "nxws" => "nxws",

    "qhws" => "qhws",

    "lyws" => "lyws",

    "sxws" => "shanxiws",

    "snws" => "tjws",

    "btws" => "btws",

    "xmws" => "xmws",

    "jykt" => "jykt",

    "xdkt" => "xdkt",

    "bjkk" => "kkkt",

    "jjkt" => "jjkt",

    "ozzq" => "ozzq",

    "wxty" => "ssty",

    "jbty" => "jbty",

    "shxw" => "xwzh",

    "shyl" => "ylpd",

    "shjs" => "jspd",

    "shxs" => "shss",

    "shwy" => "wypd",

    "dycj" => "dycj",

    "dfcj" => "dfcj",

    "ysrw" => "ysrw",

    "qcxj" => "qcxj",

    "dmxc" => "dmxc",

    "yxfy" => "yxfy",

    "jsqc" => "jsqc",

    "fztd" => "fztd",

    "dsjc" => "dsjc",

    "hxjc" => "hxjc",

    "kkxw" => "kknews",

    "shds" => "iptvds",

    "hdnba1" => "hdnba1",

    "hdnba2" => "hdnba2",

    "hdnba3" => "hdnba3",

    "hdnba4" => "hdnba4",

    "hdnba5" => "hdnba5",

    "hdnba6" => "hdnba6",

    "hdnba7" => "hdnba7",

    "hdnba8" => "hdnba8"

);

$bip="http://tt-live.bestvcdn.com.cn/live/program/Dbst.mobile.live.bestvcdn.com.cnD/__key_/live991/".$ids[$id]."/700000/";

if(strpos($id,"hd")>0){

$bip=str_replace("700000","2300000",$bip);

}

date_default_timezone_set ("Asia/Shanghai");

$date=date("YmdH");

$st=time()-110;

$a=$st/"10";

$start_ts=floor($a);

$current="";

$current .= "#EXTM3U"."\n";

$current .= "#EXT-X-TARGETDURATION:5"."\n";

$current .= "#EXT-X-VERSION:3"."\n";

$current .= "#EXT-X-MEDIA-SEQUENCE:".$start_ts."\n";

$ext = "#EXTINF:5,"."\n";

 for ($i = 0; $i <= 2; $i++) {

     $current .= ($ext);

        $current .= ($bip.$date."/".$start_ts.".ts"."\n");

$start_ts++;

}

echo $current;

?>


评论

( ′◔ ‸◔`),为啥看不到