fix
This commit is contained in:
@@ -30,16 +30,16 @@ jobs:
|
|||||||
pwd
|
pwd
|
||||||
cd tools/
|
cd tools/
|
||||||
pip install demjson3 --break-system-packages
|
pip install demjson3 --break-system-packages
|
||||||
python fty.py
|
# python fty.py
|
||||||
python xiao.py ../xiaosa/api.json dianshi.json
|
python xiao.py ../xiaosa/api.json dianshi.json
|
||||||
python xiao.py ../xiaosa/api.json jsm.json
|
python xiao.py ../xiaosa/api.json jsm.json
|
||||||
\cp -pdr tvbox_cleaned.json ../fty.json
|
\cp -pdr tvbox_cleaned.json ../fty.json
|
||||||
\cp -pdr dianshi_with_app_sites.json ../dianshi.json
|
\cp -pdr dianshi_with_app_sites.json ../dianshi.json
|
||||||
\cp -pdr jsm_with_app_sites.json ../jsm.json
|
\cp -pdr jsm_with_app_sites.json ../jsm.json
|
||||||
\cp -pdr fan.txt ../jar/fan.txt
|
# \cp -pdr fan.txt ../jar/fan.txt
|
||||||
\cp -pdr ../xiaosa/spider.jar ../jar/spider.jar
|
\cp -pdr ../xiaosa/spider.jar ../jar/spider.jar
|
||||||
git clone --depth=1 --recursive https://github.com/fantaiying7/EXT.git
|
git clone --depth=1 --recursive https://github.com/fantaiying7/EXT.git
|
||||||
\cp -pdr EXT/* ../FTY/
|
# \cp -pdr EXT/* ../FTY/
|
||||||
python copy_xbpq.py dianshi_with_app_sites.json
|
python copy_xbpq.py dianshi_with_app_sites.json
|
||||||
rm -rf dianshi_with_app_sites.json jsm_with_app_sites.json tvbox_cleaned.json fan.txt EXT
|
rm -rf dianshi_with_app_sites.json jsm_with_app_sites.json tvbox_cleaned.json fan.txt EXT
|
||||||
cd ../
|
cd ../
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ session.cookies.set("visited", "1") # 提高拟真度
|
|||||||
|
|
||||||
# 下载伪 JSON 文本
|
# 下载伪 JSON 文本
|
||||||
def fetch_raw_json():
|
def fetch_raw_json():
|
||||||
url = "https://www.xn--sss604efuw.com/jm/jiemi.php?url=http%3A%2F%2Fwww.%E9%A5%AD%E5%A4%AA%E7%A1%AC.com%2Ftv"
|
url = "http://www.xn--sss604efuw.net/jm/jiemi.php?url=http://www.饭太硬.net/tv"
|
||||||
resp = session.get(url, timeout=30, allow_redirects=True)
|
resp = session.get(url, timeout=30, allow_redirects=True)
|
||||||
resp.encoding = 'utf-8'
|
resp.encoding = 'utf-8'
|
||||||
return resp.text
|
return resp.text
|
||||||
|
|||||||
Reference in New Issue
Block a user