把在线源本地化,经过格式化处理后推送到github.com
10K+
https://ghp.ci/https://raw.githubusercontent.com/fish2018/ol/main/all.json
https://raw.yzuu.cf/fish2018/ol/main/all.json
https://fastly.jsdelivr.net/gh/fish2018/ol/all.json
写这个工具的主要原因是网上各种接口重复率和失效率极高。几个多仓接口能有成千上万个线路,实际上不重复、可用的线路只有那么几十个,实在是过于冗余了。所以做了这个整理工具,把接口中所有线路进行去重和格式化,json下载保存为同名txt文件,jar文件保存到jar目录下,最后输出个all.json(包含所有历史下载线路接口)和{target}.json(本次下载线路接口,默认tvbox.json)文件用于配置app,看起来比较简洁,方便修改维护。
docker run时使用-e选项通过环境变量传参
?&signame=指定单线路名jar,一些CDN禁止'jar'后缀,可以修改为txt、json、js、css、htmlDocker镜像2011820123/tvbox,也可以使用代理拉取镜像dockerproxy.com/2011820123/tvbox:latest
首先在github.com上创建自己的代码仓库,推荐命名'tvbox',其他仓库名需要指定参数repo
支持多url下载,英文逗号,分隔多个url,?&signame={name}指定单线路名,不指定会生成随机名,{target}.json以最后一个url为准。
docker run --rm -e username=xxx -e token=xxx -e url='http://肥猫.com?&signame=肥猫,http://www.饭太硬.com/tv/?&signame=饭太硬' 2011820123/tvbox
演示:
docker run --rm -e repo=ol -e mirror=2 -e jar_suffix=css -e token=XXX -e username=fish2018 -e num=1 -e url='https://www.iyouhun.com/tv/0' 2011820123/tvbox
>>>
开始克隆:git clone https://githubfast.com/fish2018/ol.git
--------- 开始私有化在线接口 ----------
当前url: https://www.iyouhun.com/tv/0
【多仓】 🌹游魂主仓库🌹.json: https://xn--s6wu47g.u.nxog.top/nxog/ou1.php?b=游魂
开始下载【线路】游魂家庭1: https://xn--s6wu47g.u.nxog.top/m/111.php?ou=公众号欧歌app&mz=index&jar=index&123&b=游魂
开始下载【线路】游魂云盘2: https://xn--s6wu47g.u.nxog.top/m/111.php?ou=公众号欧歌app&mz=all&jar=all&b=游魂
开始下载【线路】游魂学习3: https://xn--s6wu47g.u.nxog.top/m/111.php?ou=公众号欧歌app&mz=a3&jar=a3&b=游魂
开始下载【线路】下面游魂收集网络: https://xn--s6wu47g.u.nxog.top/m/111.php?ou=公众号欧歌app&mz=index&jar=index&321&b=游魂
开始下载【线路】饭太硬: http://py.nxog.top/?ou=http://www.饭太硬.com/tv/
开始下载【线路】OK: http://py.nxog.top/?ou=http://ok321.top/ok
开始下载【线路】盒子迷: http://py.nxog.top/?ou=https://盒子迷.top/禁止贩卖
开始下载【线路】D佬: https://download.kstore.space/download/2883/nzk/nzk0722.json
开始下载【线路】PG: https://gh.con.sh/https://raw.githubusercontent.com/ouhaibo1980/tvbox/master/pg/jsm.json
开始下载【线路】肥猫: http://py.nxog.top/?ou=http://肥猫.com
开始下载【线路】小米: http://py.nxog.top/?ou=http://www.mpanso.com/%E5%B0%8F%E7%B1%B3/DEMO.json
开始下载【线路】放牛: http://py.nxog.top/?ou=http://tvbox.xn--4kq62z5rby2qupq9ub.top
开始下载【线路】小马: https://szyyds.cn/tv/x.json
开始下载【线路】天天开心: http://ttkx.live:55/天天开心
开始下载【线路】摸鱼: http://我不是.摸鱼儿.top
开始下载【线路】老刘备: https://raw.liucn.cc/box/m.json
开始下载【线路】香雅情: https://gh.con.sh/https://raw.githubusercontent.com/xyq254245/xyqonlinerule/main/XYQTVBox.json
开始下载【线路】俊佬: http://home.jundie.top:81/top98.json
开始下载【线路】月光: https://gh.con.sh/https://raw.githubusercontent.com/guot55/yg/main/max.json
开始下载【线路】巧技: http://cdn.qiaoji8.com/tvbox.json
开始下载【线路】荷城茶秀: https://gh.con.sh/https://raw.githubusercontent.com/HeChengChaXiu/tvbox/main/hccx.json
开始下载【线路】云星日记: http://itvbox.cc/云星日记
开始下载【线路】吾爱: http://52pan.top:81/api/v3/file/get/174964/%E5%90%BE%E7%88%B1%E8%AF%84%E6%B5%8B.m3u?sign=rPssLoffquDXszCARt6UNF8MobSa1FA27XomzOluJBY%3D%3A0
开始下载【线路】南风: https://gh.con.sh/https://raw.githubusercontent.com/yoursmile66/TVBox/main/XC.json
开始下载【线路】2游魂收集不分排名: https://xn--s6wu47g.u.nxog.top/m/333.php?ou=公众号欧歌app&mz=all&jar=all&b=游魂
开始写入单仓🌹游魂主仓库🌹.json
开始写入tvbox.json
开始写入all.json
--------- 完成私有化在线接口 ----------
开始推送:git push https://githubfast.com/fish2018/ol.git
耗时: 176.29488706588745 秒
#################影视仓APP配置接口########################
https://gitdl.cn/https://raw.githubusercontent.com/fish2018/ol/main/all.json
https://gitdl.cn/https://raw.githubusercontent.com/fish2018/ol/main/tvbox.json
{target}.json;支持多url下载,英文逗号分隔多个url,?&signame={name}指定单线路名,不指定会生成随机名。例子:url = 'http://肥猫.com?&signame=肥猫,http://www.饭太硬.com/tv/?&signame=饭太硬'Content type
Image
Digest
sha256:c7b4530c7…
Size
513.1 MB
Last updated
about 2 years ago
docker pull 2011820123/tvbox