点播直播配置范例

doubebly
2025-05-21 / 0 评论 / 252 阅读 / 正在检测是否收录...

点播线上

{
  "spider": "https://github.com/custom_spider.jar",
  "sites": [
    {
      "key": "one",
      "name": "One",
      "type": 3,
      "api": "csp_Csp",
      "searchable": 1,
      "changeable": 1,
      "ext": "https://github.com/one.json"
    },
    {
      "key": "two",
      "name": "Two",
      "type": 3,
      "api": "csp_Csp",
      "searchable": 1,
      "changeable": 1,
      "ext": "https://github.com/two.json"
    },
    {
      "key": "extend",
      "name": "Extend",
      "type": 3,
      "api": "csp_Csp",
      "searchable": 1,
      "changeable": 1,
      "ext": "https://github.com/extend.json",
      "jar": "https://github.com/extend.jar"
    }
  ],
  "parses": [
    {
      "name": "官方",
      "type": 1,
      "url": "https://google.com/api/?url="
    }
  ],
  "doh": [
    {
      "name": "Google",
      "url": "https://dns.google/dns-query",
      "ips": [
        "8.8.4.4",
        "8.8.8.8"
      ]
    }
  ],
  "headers": [
    {
      "host": "gslbserv.itv.cmvideo.cn",
      "header": {
        "User-Agent": "okhttp/3.12.13"
      }
    }
  ],
  "proxy": [
    "raw.githubusercontent.com"
  ],
  "hosts": [
    "cache.ott.ystenlive.itv.cmvideo.cn=base-v4-free-mghy.e.cdn.chinamobile.com"
  ],
  "flags": [
    "qq"
  ],
  "ads": [
    "static-mozai.4gtv.tv"
  ]
}

点播本地

{
  "spider": "file://Download/custom_spider.jar",
  "sites": [
    {
      "key": "one",
      "name": "One",
      "type": 3,
      "api": "csp_Csp",
      "searchable": 1,
      "changeable": 1,
      "ext": "file://Download/one.json"
    },
    {
      "key": "two",
      "name": "Two",
      "type": 3,
      "api": "csp_Csp",
      "searchable": 1,
      "changeable": 1,
      "ext": "file://Download/two.json"
    },
    {
      "key": "extend",
      "name": "Extend",
      "type": 3,
      "api": "csp_Csp",
      "searchable": 1,
      "changeable": 1,
      "ext": "file://Download/extend.json",
      "jar": "file://Download/extend.jar"
    }
  ],
  "parses": [
    {
      "name": "官方",
      "type": 1,
      "url": "https://google.com/api/?url="
    }
  ],
  "doh": [
    {
      "name": "Google",
      "url": "https://dns.google/dns-query",
      "ips": [
        "8.8.4.4",
        "8.8.8.8"
      ]
    }
  ],
  "headers": [
    {
      "host": "gslbserv.itv.cmvideo.cn",
      "header": {
        "User-Agent": "okhttp/3.12.13"
      }
    }
  ],
  "proxy": [
    "raw.githubusercontent.com"
  ],
  "hosts": [
    "cache.ott.ystenlive.itv.cmvideo.cn=base-v4-free-mghy.e.cdn.chinamobile.com"
  ],
  "flags": [
    "qq"
  ],
  "ads": [
    "static-mozai.4gtv.tv"
  ]
}

直播线上

{
  "lives": [
    {
      "name": "M3U",
      "url": "https://github.com/live.m3u"
    },
    {
      "name": "TXT",
      "url": "https://github.com/live.txt",
      "epg": "https://epg.112114.xyz/?ch={name}&date={date}",
      "logo": "https://epg.112114.xyz/logo/{name}.png"
    },
    {
      "name": "UA",
      "url": "https://github.com/live.txt",
      "epg": "https://epg.112114.xyz/?ch={name}&date={date}",
      "logo": "https://epg.112114.xyz/logo/{name}.png",
      "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
      "referer": "https://github.com/"
    },
    {
      "name": "Custom",
      "boot": false,
      "pass": true,
      "url": "https://github.com/live.txt",
      "epg": "https://epg.112114.xyz/?ch={name}&date={date}&serverTimeZone=Asia/Shanghai",
      "logo": "https://epg.112114.xyz/logo/{name}.png",
      "header": {
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
        "Referer": "https://github.com/"
      },
      "catchup": {
        "days": "7",
        "type": "append",
        "regex": "/PLTV/",
        "replace": "/PLTV/,/TVOD/",
        "source": "?playseek=${(b)yyyyMMddHHmmss}-${(e)yyyyMMddHHmmss}"
      }
    },
    {
      "name": "JSON",
      "type": 1,
      "url": "https://github.com/live.json"
    },
    {
      "name": "Spider-JS",
      "type": 3,
      "api": "https://github.com/live.js",
      "ext": ""
    },
    {
      "name": "Spider-Python",
      "type": 3,
      "api": "https://github.com/live.py",
      "ext": ""
    }
  ],
  "headers": [
    {
      "host": "gslbserv.itv.cmvideo.cn",
      "header": {
        "User-Agent": "okhttp/3.12.13"
      }
    }
  ],
  "proxy": [
    "raw.githubusercontent.com"
  ],
  "hosts": [
    "cache.ott.ystenlive.itv.cmvideo.cn=base-v4-free-mghy.e.cdn.chinamobile.com"
  ],
  "ads": [
    "static-mozai.4gtv.tv"
  ]
}

直播本地

{
  "lives": [
    {
      "name": "M3U",
      "url": "file://Download/live.m3u"
    },
    {
      "name": "TXT",
      "url": "file://Download/live.txt",
      "epg": "https://epg.112114.xyz/?ch={name}&date={date}",
      "logo": "https://epg.112114.xyz/logo/{name}.png"
    },
    {
      "name": "UA",
      "url": "file://Download/live.txt",
      "epg": "https://epg.112114.xyz/?ch={name}&date={date}",
      "logo": "https://epg.112114.xyz/logo/{name}.png",
      "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
      "referer": "https://github.com/"
    },
    {
      "name": "Custom",
      "boot": false,
      "pass": true,
      "url": "file://Download/live.txt",
      "epg": "https://epg.112114.xyz/?ch={name}&date={date}&serverTimeZone=Asia/Shanghai",
      "logo": "https://epg.112114.xyz/logo/{name}.png",
      "header": {
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
        "Referer": "https://github.com/"
      },
      "catchup": {
        "days": "7",
        "type": "append",
        "regex": "/PLTV/",
        "replace": "/PLTV/,/TVOD/",
        "source": "?playseek=${(b)yyyyMMddHHmmss}-${(e)yyyyMMddHHmmss}"
      }
    },
    {
      "name": "JSON",
      "type": 1,
      "url": "file://Download/live.json"
    },
    {
      "name": "Spider-JS",
      "type": 3,
      "api": "./live.js",
      "ext": ""
    },
    {
      "name": "Spider-Python",
      "type": 3,
      "api": "./live.py",
      "ext": ""
    }
  ],
  "headers": [
    {
      "host": "gslbserv.itv.cmvideo.cn",
      "header": {
        "User-Agent": "okhttp/3.12.13"
      }
    }
  ],
  "proxy": [
    "raw.githubusercontent.com"
  ],
  "hosts": [
    "cache.ott.ystenlive.itv.cmvideo.cn=base-v4-free-mghy.e.cdn.chinamobile.com"
  ],
  "ads": [
    "static-mozai.4gtv.tv"
  ]
}
0

评论 (0)

取消