mirror of
https://github.com/qist/tvbox.git
synced 2025-10-28 02:32:16 +00:00
update FT
This commit is contained in:
30
json/alishare.txt
Normal file
30
json/alishare.txt
Normal file
@@ -0,0 +1,30 @@
|
||||
5bY715YyVoZ Tacit0924-总合集
|
||||
KZo6HrzGxhP BBC纪录片大合集
|
||||
jhJ4ktpANgS 300T大合集
|
||||
vgjM1MiHvoL 电影REMUX
|
||||
uWa9gbM3RJ7 优源阁-资源总合集
|
||||
HSsCwvVyWgg 此间微凉-电视剧集
|
||||
Y16fqstV5Er 全球影视首发合集
|
||||
eLxoq2u8W4d 影视分享屋合集
|
||||
bEnwAniuXzP mapotofu-总合集
|
||||
EGjCoDoJCFV 火星影剧
|
||||
2qSVjRo9SEu 电影-老王资源宝藏
|
||||
EU7WK49L4Jy YYDSVip-电影
|
||||
S1g5iJEL4kh 剧集-老王资源宝藏
|
||||
14tKp8iJ4vb 动漫-老王资源宝藏
|
||||
WdaaeX7HK44 此间微凉-动漫合集
|
||||
qjTt7fDrkT9 YYDSVip-电视剧
|
||||
UuHi9PeYSVz YYDSVip-综艺
|
||||
ancKrGAYuZ5 YYDSVip-动漫
|
||||
v9To3HC6vhs YYDSVip-综合
|
||||
KUa2Mwpm1MR 经典韩剧
|
||||
PkV89yNDPi1 日剧合集
|
||||
ftMhRaKUfYp 掌灯者-港剧
|
||||
MLWPRHRt9W3 掌灯者-台剧
|
||||
8Fg4TNsd2A2 掌灯者-大陆剧1
|
||||
ar8Kg9azw1S 掌灯者-大陆剧2
|
||||
GMYSz3AHFaA 掌灯者-大陆剧3
|
||||
q6bv8qs9u5e 掌灯者-欧美剧1
|
||||
kUDyvvcknxm 掌灯者-欧美剧2
|
||||
cmy3KCTRpFA 李连杰电影合集
|
||||
hMsDJ6dsGxQ 成龙电影合集
|
||||
118
json/getsearchtxt.py
Normal file
118
json/getsearchtxt.py
Normal file
@@ -0,0 +1,118 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
import re
|
||||
import json
|
||||
import requests
|
||||
import time
|
||||
import traceback
|
||||
import gzip
|
||||
|
||||
p=re.compile(r'.*/s/(.*)')
|
||||
skipp = re.compile(r'.*(cover|screen|频道).*',re.IGNORECASE)
|
||||
reqcount=1
|
||||
sharedict=set()
|
||||
|
||||
def getlist(w,shareid, fileid,morepage):
|
||||
global p
|
||||
global skipp
|
||||
global reqcount
|
||||
global sharedict
|
||||
|
||||
reqcount += 1
|
||||
if reqcount % 5 == 0:
|
||||
print(f"reqcount:{reqcount} shareid:{shareid} fileid:{fileid}",file=sys.stderr)
|
||||
#time.sleep(1)
|
||||
url = f'http://192.168.101.188:9978/proxy?do=pikpak&type=list&share_id={shareid}&file_id={fileid}&pass_code=&morepage={morepage}'
|
||||
print(f"url: {url}",file=sys.stderr)
|
||||
resp = requests.get(url)
|
||||
content = resp.content.decode('utf-8')
|
||||
lines = content.split("\n")
|
||||
if "folder" not in content and len(lines)<=4:
|
||||
return
|
||||
isfirst=True
|
||||
for line in lines:
|
||||
if isfirst:
|
||||
isfirst=False
|
||||
print(f"first line:{line}",file=sys.stderr)
|
||||
if skipp.match(line):
|
||||
continue
|
||||
linearr = line.split('\t')
|
||||
if len(linearr)>2:
|
||||
m = p.match(linearr[0])
|
||||
if m:
|
||||
arr = m.group(1).split("/")
|
||||
else:
|
||||
arr = linearr[0].split("/")
|
||||
shareid=arr[0]
|
||||
fileid=arr[1] if len(arr)>1 else ""
|
||||
if shareid+"/"+fileid in sharedict:
|
||||
print(f"skip shareid{shareid} fileid:{fileid}", file=sys.stderr)
|
||||
continue
|
||||
w.write(line+"\n")
|
||||
w.flush()
|
||||
if linearr[2] == "folder":
|
||||
getlist(w,shareid,fileid,False)
|
||||
|
||||
if len(lines)>0:
|
||||
getlist(w,shareid,fileid,True)
|
||||
|
||||
def main():
|
||||
try:
|
||||
f = gzip.open(sys.argv[1]+".raw.gz",mode="rt",encoding="utf-8")
|
||||
if f is not None:
|
||||
print(f"found gz raw file:{sys.argv[1]}.raw.gz, extract it",file=sys.stderr)
|
||||
with(open(sys.argv[1]+".raw","w",encoding="utf-8")) as w:
|
||||
while(True):
|
||||
lines = f.readlines()
|
||||
if len(lines)<=0:
|
||||
break
|
||||
for line in lines:
|
||||
line=line.strip()
|
||||
w.write(line+"\n")
|
||||
f.seek(0)
|
||||
except:
|
||||
traceback.print_exc()
|
||||
try:
|
||||
f = open(sys.argv[1]+".raw","r",encoding="utf-8")
|
||||
except:
|
||||
f = None
|
||||
if f is not None:
|
||||
print("found old raw file")
|
||||
while True:
|
||||
lines = f.readlines()
|
||||
if len(lines)<=0:
|
||||
break
|
||||
for line in lines:
|
||||
linearr = line.split("\t")
|
||||
m = p.match(linearr[0])
|
||||
if m:
|
||||
arr = m.group(1).split("/")
|
||||
else:
|
||||
arr = linearr[0].split("/")
|
||||
if len(arr)>1:
|
||||
shareid = arr[0]
|
||||
fileid = arr[1]
|
||||
sharedict.add(shareid+"/"+fileid)
|
||||
f.close()
|
||||
print(f"old raw file record:{len(sharedict)}")
|
||||
else:
|
||||
print("no old raw file")
|
||||
with(open(sys.argv[1]+".raw","a+",encoding="utf-8")) as w:
|
||||
with(open(sys.argv[1],"r",encoding="utf-8")) as f:
|
||||
j = json.load(f)
|
||||
for c in j:
|
||||
shareid=c.get("type_id")
|
||||
fileid=""
|
||||
m = p.match(shareid)
|
||||
if m:
|
||||
arr = m.group(1).split("/")
|
||||
else:
|
||||
arr = shareid.split("/")
|
||||
shareid=arr[0]
|
||||
fileid=arr[1] if len(arr)>1 else ""
|
||||
if shareid+"/"+fileid in sharedict:
|
||||
continue
|
||||
getlist(w,shareid,fileid,False)
|
||||
|
||||
main()
|
||||
@@ -84,6 +84,7 @@
|
||||
"key":"year",
|
||||
"value":[
|
||||
{"n":"全部","v":""},
|
||||
{"n":"2024","v":"2024"},
|
||||
{"n":"2023","v":"2023"},
|
||||
{"n":"2022","v":"2022"},
|
||||
{"n":"2021","v":"2021"},
|
||||
@@ -144,6 +145,7 @@
|
||||
"key":"year",
|
||||
"value":[
|
||||
{"n":"全部","v":""},
|
||||
{"n":"2024","v":"2024"},
|
||||
{"n":"2023","v":"2023"},
|
||||
{"n":"2022","v":"2022"},
|
||||
{"n":"2021","v":"2021"},
|
||||
@@ -200,6 +202,7 @@
|
||||
"key":"year",
|
||||
"value":[
|
||||
{"n":"全部","v":""},
|
||||
{"n":"2024","v":"2024"},
|
||||
{"n":"2023","v":"2023"},
|
||||
{"n":"2022","v":"2022"},
|
||||
{"n":"2021","v":"2021"},
|
||||
@@ -258,6 +261,7 @@
|
||||
"key":"year",
|
||||
"value":[
|
||||
{"n":"全部","v":""},
|
||||
{"n":"2024","v":"2024"},
|
||||
{"n":"2023","v":"2023"},
|
||||
{"n":"2022","v":"2022"},
|
||||
{"n":"2021","v":"2021"},
|
||||
@@ -303,4 +307,4 @@
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
12
json/quarkshare.txt
Normal file
12
json/quarkshare.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
5f609a707cec 热播电视剧[2024]
|
||||
fa36ad2cdbab 2023-2024热门电影电视剧
|
||||
5d35f4a6de53 高画质夸克电影合集
|
||||
6862082b30d3 童年经典动漫大合集套装(7TB)
|
||||
78183164f34e 经典怀旧_剧集纪录片综艺大合集_持续更新
|
||||
885fd4ba2d92 每日短剧更新
|
||||
432b5cd3a225 短剧162g
|
||||
c54a8e47f82f 短剧114g
|
||||
047991d5955e 经典剧集
|
||||
ecdf7d6ffaaa 经典港剧合集1
|
||||
187062318ebc 经典港剧合集2
|
||||
9ebb62b93194 2023-2024跨年晚会合集
|
||||
2
json/thundershare.txt
Normal file
2
json/thundershare.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
VNn9bR31HNQyvE5d2_hIx9L5A1?pwd=hc82 最新影视资源实时同步更新
|
||||
VNjwyIJVrUPzmOwSA07z6EP1A1?pwd=a84q 抖音收费短剧合集
|
||||
Reference in New Issue
Block a user