精品软件与实用教程
TVBOX接口制作,自制TVBOX配置地址
如何制作一个自己的TVbox接口,TVBOX接口制作,最近很多tvbox的接口失效,导致要在网上不停的寻找最新的tvbox接口,很多时候tvbox接口失效的原因是因为域名到期,无人续费维护,特别是之前很多使用国外免费域名来制作tvbox接口的,虽然隐私方面得到了保护,但是随着国外域名失效后,很多优秀的tvbox接口也都无效了。
网上关于制作tvbox接口的文章有限,下面教大家制作一个简单的tvbox接口文件。
自制TVBox在线配置教程
在制作tvbox接口前,首先你要找到一些电影资源发布站,网上有很多的免费电影资源发布站,或者采用苹果CMS的电影网站,苹果CMS的电影网站,默认有对外的API接口,方便采集。
tvbox接口的逻辑是将网络上可用的视频网站的内容,通过调用API接口文件,生成一个可供tvbox读取的JSON文件。然后TVBOX通过读取接口文件,实现影片播放。
下面是关于tvbox配置文件的一些参考。
{ "author":"8.2", "name":"番茄影视", "url":"https://tjomet.com", //填网站链接https://tjomet.com/vodtype/1.html "tihuan":"cnzz.com", //这个不用动,是个别网站嗅探时过滤地址用的 "User":"空", //这个不用动,是个别网站播放需要请求头时才用到 "fenlei":"电影$/vodtype/1-#电视剧$/vodtype/2-#综艺$/vodtype/3-#动漫$/vodtype/4-#记录片$/vodtype/5-", //网站列表的分类 "houzhui":".html", //网站翻页链接的后缀 "shifouercijiequ":"0", //截取的列表数组是否需要二次截取,0不需要,1需要 "jiequqian":"空", //不需要二次截取就填空 "jiequhou":"空", //不需要二次截取就填空 "jiequshuzuqian":"", //截取的列表数组的后关键词,截取的关键词有 " 的用 \ 进行转义 "tupianqian":"data-original=\"", //列表中资源的图片前关键词,截取的关键词有 " 的用 \ 进行转义 "tupianhou":"\"", //列表中资源的图片后关键词,截取的关键词有 " 的用 \ 进行转义 "biaotiqian":"title=\"", //列表中资源的标题前关键词,截取的关键词有 " 的用 \ 进行转义 "biaotihou":"\"", //列表中资源的标题后关键词,截取的关键词有 " 的用 \ 进行转义 "lianjieqian":"href=\"", //列表中资源的详情页跳转链接前关键词,截取的关键词有 " 的用 \ 进行转义 "lianjiehou":"\"", //列表中资源的详情页跳转链接后关键词,截取的关键词有 " 的用 \ 进行转义 "fubiaotiqian": "class=\"pic-text text-right\">", "fubiaotihou": "", //搜索部分基本不用动,现在网站基本都是苹果CMS,所有搜索是固定的。 "sousuoqian": "/index.php/ajax/suggest?mid=1&wd=", "sousuohou": "&limit=500", "sousuohouzhui": "/index.php/vod/detail/id/", //搜索页影片跳转详情页的中间标识链接部分 "ssmoshi": "0", "sousuoshifouercijiequ": "0", "jspic": "pic", "jsname": "name", "jsid": "id", "ssjiequqian": "空", "ssjiequhou": "空", "ssjiequshuzuqian": "空", "ssjiequshuzuhou": "空", "sstupianqian": "空", "sstupianhou": "空", "ssbiaotiqian": "空", "ssbiaotihou": "空", "sslianjieqian": "空", "sslianjiehou": "空", "bfshifouercijiequ": "0", "bfjiequqian": "空", "bfjiequhou": "空", "bfjiequshuzuqian": "hl-plays-list hl-sort-list clearfix", //播放截取的列表数组的前关键词 "bfjiequshuzuhou": "", //播放截取的列表数组的后关键词 "bflianjieqian": "href=\"", //播放剧集链接前关键词 "bflianjiehou": "\"", "bfbiaotiqian": ">", //播放剧集标题前关键词 "bfbiaotihou": "<" ,//状播放剧集标题后关键词 "zhuangtaiqian": "更新:", //状态前关键词 "zhuangtaihou": "", //状态后关键词 "daoyanqian": "导演:", //导演前关键词 "daoyanhou": "", //导演态后关键词 "zhuyanqian": "主演:", //主演前关键词 "zhuyanhou": "", //主演后关键词 "juqingqian": "简介:", //剧情前关键词 "juqinghou": "
tvbox单仓接口,tvbox单仓就是多个接口的集合:
{ "urls": [ { "url": "https://agit.ai/ccy/v/raw/branch/master/v", "name": "👇boxpu.com 收集网络接口👇", "time": "主线路更新2024年03月01日" }, { "url": "https://agit.ai/Yoursmile7/TVBox/raw/branch/master/XC.json", "name": "南风线路" }, { "url": "https://d.kstore.space/download/6474/tvbox/api.json", "name": "小白线路" } ] }
tvbox多仓接口,tvbox多仓接口就是多个单仓的集合:
{ "storeHouse": [ { "sourceName": "主仓库", "sourceUrl": "https://gitcode.net/wzlyd1/00/-/raw/master/0.txt" }, { "sourceName": "超级仓库", "sourceUrl": "https://agit.ai/hu/hcr/raw/branch/master/99668.txt" }] }
tvbox接口示例配置文件,网上可以搜索到一些有效的解析聚合接口。
{ "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"]}
TVBox配置编辑器
不过对于小白用户来讲,上面的代码看的是一头雾水,如何简单的制作一个tvbox在线接口呢?
下面介绍一个可视化的TVBOX接口编辑器