秋硕学习笔记 智能 制作自有影视TVBox 多仓接口教程

制作自有影视TVBox 多仓接口教程

一、免费的代码托管平台、网盘、服务器和空间,存放多仓文件。 1、单仓:单仓就是多个接口的集合url。右边就是接…

一、免费的代码托管平台、网盘、服务器和空间,存放多仓文件。
1、单仓:单仓就是多个接口的集合url。右边就是接口地址,照着格式复制即可。

{
    "urls": [
      {
          "url": "https://agit.ai/ccy/v/raw/branch/master/v",
          "name": "👇PC软件库收集网络接口👇",
          "time": "主线路更新2024年01月1日"
      },
      {
          "url": "https://xn--z7x900a.love/",
          "name": "肥猫"
      },
      {
          "url": "https://agit.ai/nbwzlyd/xiaopingguo/raw/branch/master/xiaopingguo/xiaopingguo.json",
          "name": "小苹果"
      }
  ]
}

2、多仓:多仓就是多个单仓的集合。sourceUrl 右边就是单仓地址。

{
    "storeHouse": [
    {
        "sourceName": "🌹主仓库🌹",
        "sourceUrl": "http://tv.pcoof.com/list.php"
    },
    {
        "sourceName": "🌹超级仓库🌹",
        "sourceUrl": "https://agit.ai/hu/hcr/raw/branch/master/99668.txt"
    },
    {
        "sourceName": "🌹☁️大聪明仓库🌹",
        "sourceUrl": "https://jihulab.com/duomv/apps/-/raw/main/1.txt"
    }]
}

3、接口:

{
"spider":"https://raw.iqiq.io/pickear/tbs/main/spider/custom_spider22091401.jar;md5;88edf8de10f957592b3b67a136682597",
    "sites":
    [  
      {"key": "天堂资源", "name": "🌶天堂资源", "type": 1, "api": "http://vipmv.cc/api.php/provide/vod/", "searchable": 1, "quickSearch": 1, "filterable": 0 },
      {"key": "诺讯资源", "name": "🍱诺讯资源", "type": 1, "api": "http://caiji.nxflv.com/api.php/provide/vod/", "searchable": 1, "quickSearch": 1, "filterable": 0 },
       
       {"key": "push_agent", "name": "推送", "type": 3, "api": "csp_PushAgent", "searchable": 0, "quickSearch": 0, "filterable": 0 }
  ],
  "lives": [{"group": "redirect", "channels": [{"name": "channels", "urls": ["proxy://do=live&type=txt&ext=aHR0cHM6Ly9hZ2l0LmFpL2NjeS92L3Jhdy9icmFuY2gvbWFzdGVyL3R2L2NuLnR4dA=="] } ] } ],
  "parses": [
    {"name": "解析聚合", "type": 3, "url": "Demo"},
    {"name": "Json并发", "type": 2, "url": "Parallel"},
    {"name": "Json轮询", "type": 2, "url": "Sequence"},
    {"name": "全站资源", "type": 1, "url": "https://yparse.jn1.cc/index.php?url=", "ext": {"flag": ["youku", "优酷", "mgtv", "芒果", "qq", "腾讯", "qiyi", "爱奇艺", "qq", "奇艺"] } },
    {"name": "江湖解析", "type": 1, "url": "http://103.40.240.46/jh/?url=", "ext": {"flag": ["renrenmi", "qq", "腾讯", "youku", "优酷", "mgtv", "芒果", "xigua", "西瓜"] } },
    {"name": "王牌", "type": 1, "url": "https://za.kuanjv.com/?url=", "ext": {"flag": ["qq", "腾讯", "qiyi", "爱奇艺", "奇艺", "youku", "优酷", "mgtv", "芒果", "搜狐", "sohu", "letv", "乐视", "bilibili", "哔哩哔哩", "哔哩", "xigua", "西瓜"] } },
    {"name": "Wuduzy", "type": 1, "url": "https://aa.xkys.tv/json.php?url=", "ext": {"flag": ["wuduzy"] } },
    {"name": "zui", "type": 0, "url": "https://jx.zui.cm/?url=", "ext": {"flag": ["ltnb"] } },
    {"name": "web1", "type": 0, "url": "https://www.nxflv.com/?url=", "ext": {"flag": ["youku", "优酷", "mgtv", "芒果", "qq", "腾讯", "qiyi", "爱奇艺", "qq", "奇艺", "sohu", "letv"] } },
    {"name": "ltnb04", "type": 0, "url": "https://vip.bljiex.com/?v=", "ext": {"flag": ["ltnb"] } },
    {"name": "ltnb02", "type": 0, "url": "https://jx.zui.cm/?url=", "ext": {"flag": ["ltnb"] } },
    {"name": "parwix1", "type": 0, "url": "https://jx.parwix.com:4433/player/?url=", "ext": {"flag": ["qq", "腾讯", "qiyi", "爱奇艺", "奇艺", "youku", "优酷", "mgtv", "芒果", "letv", "乐视", "pptv", "PPTV", "sohu", "bilibili", "哔哩哔哩", "哔哩"] } },
    {"name": "parwix2", "type": 0, "url": "https://jx.parwix.com:4433/player/analysis.php?v=", "ext": {"flag": ["qq", "腾讯", "qiyi", "爱奇艺", "奇艺", "youku", "优酷", "mgtv", "芒果", "letv", "乐视", "pptv", "PPTV", "sohu", "bilibili", "哔哩哔哩", "哔哩"] } } ], "flags": ["youku", "qq", "iqiyi", "qiyi", "letv", "sohu", "tudou", "pptv", "mgtv", "wasu", "bilibili", "renrenmi", "优酷", "芒果", "腾讯", "爱奇艺", "奇艺", "ltnb", "rx", "CL4K", "xfyun", "wuduzy"],
  "ijk": [
    {"group": "软解码", "options": [
      {"category": 4, "name": "opensles", "value": "0"},
      {"category": 4, "name": "overlay-format", "value": "842225234"},
      {"category": 4, "name": "framedrop", "value": "1"},
      {"category": 4, "name": "soundtouch", "value": "1"},
      {"category": 4, "name": "start-on-prepared", "value": "1"},
      {"category": 1, "name": "http-detect-range-support", "value": "0"},
      {"category": 1, "name": "fflags", "value": "fastseek"},
      {"category": 2, "name": "skip_loop_filter", "value": "48"},
      {"category": 4, "name": "reconnect", "value": "1"},
      {"category": 4, "name": "max-buffer-size", "value": "5242880"},
      {"category": 4, "name": "enable-accurate-seek", "value": "0"},
      {"category": 4, "name": "mediacodec", "value": "0"},
      {"category": 4, "name": "mediacodec-auto-rotate", "value": "0"},
      {"category": 4, "name": "mediacodec-handle-resolution-change", "value": "0"},
      {"category": 4, "name": "mediacodec-hevc", "value": "0"},
      {"category": 1, "name": "dns_cache_timeout", "value": "600000000"} ] },
    {"group": "硬解码", "options": [
      {"category": 4, "name": "opensles", "value": "0"},
      {"category": 4, "name": "overlay-format", "value": "842225234"},
      {"category": 4, "name": "framedrop", "value": "1"},
      {"category": 4, "name": "soundtouch", "value": "1"},
      {"category": 4, "name": "start-on-prepared", "value": "1"},
      {"category": 1, "name": "http-detect-range-support", "value": "0"},
      {"category": 1, "name": "fflags", "value": "fastseek"},
      {"category": 2, "name": "skip_loop_filter", "value": "48"},
      {"category": 4, "name": "reconnect", "value": "1"},
      {"category": 4, "name": "max-buffer-size", "value": "5242880"},
      {"category": 4, "name": "enable-accurate-seek", "value": "0"},
      {"category": 4, "name": "mediacodec", "value": "1"},
      {"category": 4, "name": "mediacodec-auto-rotate", "value": "1"},
      {"category": 4, "name": "mediacodec-handle-resolution-change", "value": "1"},
      {"category": 4, "name": "mediacodec-hevc", "value": "1"},
      {"category": 1, "name": "dns_cache_timeout", "value": "600000000"}
      ] }
  ],
"ads": ["mimg.0c1q0l.cn", "www.googletagmanager.com", "www.google-analytics.com", "mc.usihnbcq.cn", "mg.g1mm3d.cn", "mscs.svaeuzh.cn", "cnzz.hhttm.top", "tp.vinuxhome.com", "cnzz.mmstat.com", "www.baihuillq.com", "s23.cnzz.com", "z3.cnzz.com", "c.cnzz.com", "stj.v1vo.top", "z12.cnzz.com", "img.mosflower.cn", "tips.gamevvip.com", "ehwe.yhdtns.com", "xdn.cqqc3.com", "www.jixunkyy.cn", "sp.chemacid.cn", "hm.baidu.com", "s9.cnzz.com", "z6.cnzz.com", "um.cavuc.com", "mav.mavuz.com", "wofwk.aoidf3.com", "z5.cnzz.com", "xc.hubeijieshikj.cn", "tj.tianwenhu.com", "xg.gars57.cn", "k.jinxiuzhilv.com", "cdn.bootcss.com", "ppl.xunzhuo123.com", "xomk.jiangjunmh.top", "img.xunzhuo123.com", "z1.cnzz.com", "v1.cnzz.com", "s13.cnzz.com", "xg.huataisangao.cn", "z7.cnzz.com", "xg.huataisangao.cn", "z2.cnzz.com", "s96.cnzz.com", "q11.cnzz.com", "thy.dacedsfa.cn", "xg.whsbpw.cn", "s19.cnzz.com", "z8.cnzz.com", "s4.cnzz.com", "f5w.as12df.top", "ae01.alicdn.com", "videocloud.cn-hangzhou.log.aliyuncs.com", "www.92424.cn", "k.wudejia.com", "vivovip.mmszxc.top", "qiu.xixiqiu.com", "cdnjs.hnfenxun.com", "cms.qdwght.com"]}

二、自有php服务器的话,可以用下面的代码:
1、单仓:保存为 list.php。

<?php
header("Content-type:application/json");
$b = $_GET['b'] ? $_GET['b'] : " ";
$t = date('Y年m月d日');
$list = array (
    "urls" => array(
         array(
            "url"=>"https://agit.ai/ccy/v/raw/branch/master/v",
            "name"=>"👇PC软件库收集网络接口👇",
            "time"=>"主线路更新".$t
        ),
        array(
            "url"=>"https://xn--z7x900a.love/",
            "name"=>"肥猫"
            ),        
        array(
            "url"=>"https://agit.ai/nbwzlyd/xiaopingguo/raw/branch/master/xiaopingguo/xiaopingguo.json",
            "name"=>"小苹果"
            ),
        array(
            "url"=>"https://raw.iqiq.io/tv-player/tvbox-line/main/custom_site.json",
            "name"=>"tv-player",
        )
    ),
    "vip" => array (
        array(
            "url"=>"https://agit.ai/ccy/v/raw/branch/master/av",
            "name"=>"😝-彩蛋随机线路-😝",
            "time"=>"无名"
        )
    )
);
//转为JSON
echo json_encode($list,JSON_UNESCAPED_UNICODE);
?>

2、多仓:保存为 index.php。

<?php
header("Content-type:application/json");
$b = $_GET['b'] ? $_GET['b'] : "PC软件库";
//构建数据
$data = array(
    "storeHouse" => array(
        array(
            'sourceName'=>'🌹'.$b.'主仓库🌹',
            'sourceUrl'=>'http://tv.pcoof.com/list.php'
        )
        ,array(
            'sourceName'=>'🌹'.$b.'超级仓库🌹',
            'sourceUrl'=>'https://agit.ai/hu/hcr/raw/branch/master/99668.txt'
        )
        ,array(
            'sourceName'=>'🌹'.$b.'☁️gk0748仓库🌹',
            'sourceUrl'=>'https://agit.ai/gk0748/gk0/raw/branch/master/ls.txt'
        )
        ,array(
            'sourceName'=>'🌹'.$b.'☁️安卓小小鸟仓库🌹',
            'sourceUrl'=>'https://gitcode.net/wzlyd1/00/-/raw/master/0.txt'
        )
    )
);
//转为JSON
echo json_encode($data,JSON_UNESCAPED_UNICODE);
?>
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。若本站内容侵犯了原著者的合法权益,请联系我们进行处理。本文地址:https://wparticle.cn/1381.html

作者: wordus

记录生活感悟,分享网络资源,交流学习体会,感受美好人生。秋硕学习笔记,记录分享学习、生活、工作、旅游、健身、爱好的个人博客。
返回顶部