Add files via upload

This commit is contained in:
alantang 2024-01-02 13:20:17 +08:00 committed by GitHub
parent 1ab7b0e226
commit 7ffbd39333
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 16 deletions

BIN
pg/lib/aliproxy.gz Normal file

Binary file not shown.

1
pg/lib/aliproxy.md5 Normal file
View file

@ -0,0 +1 @@
da00d6247a1d8e38c4bcf1f364dda405

View file

@ -25,25 +25,26 @@ def getlist(shareid, fileid):
lines = content.split("\n") lines = content.split("\n")
if "folder" not in content and len(lines)<=4: if "folder" not in content and len(lines)<=4:
return return
isfirst=True
for line in lines: for line in lines:
if isfirst:
isfirst=False
print(f"first line:{line}",file=sys.stderr)
linearr = line.split('\t') linearr = line.split('\t')
if len(linearr)>2: if len(linearr)>2:
if linearr[2] == "folder": m = p.match(linearr[0])
m = p.match(linearr[0]) if m:
if m: arr = m.group(1).split("/")
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)
else: else:
print(line) arr = linearr[0].split("/")
sys.stdout.flush() 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(): def main():

View file

@ -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/VNThL9vJ7kj57e2Kr_dlOzc0o1", "type_name":"每日更新" },
{"type_id":"https://mypikpak.com/s/VNBG3CPruacfHy3KVrVR1Qbko1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧1"}, {"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"}, {"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/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/VNRTEG11roRROhEkho_4qFPYo1","type_name":"/🕸我的PikPak分享/高清剧集B/合集39"},
{"type_id":"https://mypikpak.com/s/VNRTFVbPBGyw1kt1HkijMoBko1","type_name":"/🕸我的PikPak分享/高清剧集B/合集41"} {"type_id":"https://mypikpak.com/s/VNRTFVbPBGyw1kt1HkijMoBko1","type_name":"/🕸我的PikPak分享/高清剧集B/合集41"}
] ]

Binary file not shown.