diff --git a/pg/lib/aliproxy.gz b/pg/lib/aliproxy.gz new file mode 100644 index 0000000..f5b6d19 Binary files /dev/null and b/pg/lib/aliproxy.gz differ diff --git a/pg/lib/aliproxy.md5 b/pg/lib/aliproxy.md5 new file mode 100644 index 0000000..9dc3a80 --- /dev/null +++ b/pg/lib/aliproxy.md5 @@ -0,0 +1 @@ +da00d6247a1d8e38c4bcf1f364dda405 diff --git a/pg/lib/getsearchtxt.py b/pg/lib/getsearchtxt.py index 21220a9..b1c4ef7 100644 --- a/pg/lib/getsearchtxt.py +++ b/pg/lib/getsearchtxt.py @@ -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(): diff --git a/pg/lib/pikpakclass.json b/pg/lib/pikpakclass.json index f3e52c0..e75d1cc 100644 --- a/pg/lib/pikpakclass.json +++ b/pg/lib/pikpakclass.json @@ -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"} + ] diff --git a/pg/lib/pikpakclass.json.txt.gz b/pg/lib/pikpakclass.json.txt.gz new file mode 100644 index 0000000..2e9f75e Binary files /dev/null and b/pg/lib/pikpakclass.json.txt.gz differ