mirror of
https://github.com/alantang1977/X.git
synced 2024-11-06 06:53:21 +02:00
Add files via upload
This commit is contained in:
parent
1ab7b0e226
commit
7ffbd39333
5 changed files with 19 additions and 16 deletions
BIN
pg/lib/aliproxy.gz
Normal file
BIN
pg/lib/aliproxy.gz
Normal file
Binary file not shown.
1
pg/lib/aliproxy.md5
Normal file
1
pg/lib/aliproxy.md5
Normal file
|
@ -0,0 +1 @@
|
|||
da00d6247a1d8e38c4bcf1f364dda405
|
|
@ -25,25 +25,26 @@ def getlist(shareid, fileid):
|
|||
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)
|
||||
linearr = line.split('\t')
|
||||
if len(linearr)>2:
|
||||
if linearr[2] == "folder":
|
||||
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:
|
||||
continue
|
||||
print(line)
|
||||
sys.stdout.flush()
|
||||
getlist(shareid,fileid)
|
||||
m = p.match(linearr[0])
|
||||
if m:
|
||||
arr = m.group(1).split("/")
|
||||
else:
|
||||
print(line)
|
||||
sys.stdout.flush()
|
||||
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
|
||||
print(line)
|
||||
if linearr[2] == "folder":
|
||||
getlist(shareid,fileid)
|
||||
|
||||
|
||||
def main():
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[
|
||||
{"type_id":"https://mypikpak.com/s/VNRT8Wr8BGyw1kt1HkijKR4Qo1", "type_name":"高清劇集合集一二" },
|
||||
{"type_id":"https://mypikpak.com/s/VNRT8Wr8BGyw1kt1HkijKR4Qo1", "type_name":"高清劇集合集一二", "version":"202401011655"},
|
||||
{"type_id":"https://mypikpak.com/s/VNThL9vJ7kj57e2Kr_dlOzc0o1", "type_name":"每日更新" },
|
||||
{"type_id":"https://mypikpak.com/s/VNBG3CPruacfHy3KVrVR1Qbko1","type_name":"/🕸️我的PikPak分享/电视剧140T/电视剧1"},
|
||||
{"type_id":"https://mypikpak.com/s/VNBXQHEBywwEP48SYNoLGhg-o1","type_name":"/🕸️我的PikPak分享/电视剧140T/电视剧10"},
|
||||
|
@ -75,4 +75,5 @@
|
|||
{"type_id":"https://mypikpak.com/s/VNRTDyshQgqv_6lSY5Z75a42o1","type_name":"/🕸️我的PikPak分享/高清剧集B/合集37"},
|
||||
{"type_id":"https://mypikpak.com/s/VNRTEG11roRROhEkho_4qFPYo1","type_name":"/🕸️我的PikPak分享/高清剧集B/合集39"},
|
||||
{"type_id":"https://mypikpak.com/s/VNRTFVbPBGyw1kt1HkijMoBko1","type_name":"/🕸️我的PikPak分享/高清剧集B/合集41"}
|
||||
|
||||
]
|
||||
|
|
BIN
pg/lib/pikpakclass.json.txt.gz
Normal file
BIN
pg/lib/pikpakclass.json.txt.gz
Normal file
Binary file not shown.
Loading…
Reference in a new issue