Add files via upload

This commit is contained in:
alantang 2023-12-31 11:31:04 +08:00 committed by GitHub
parent 2d9d1383ac
commit 60674d1dc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11696 additions and 3 deletions

85
pg/lib/getsearchtxt.py Normal file
View file

@ -0,0 +1,85 @@
#!/usr/bin/env python3
import sys
import re
import json
import requests
import time
p=re.compile(r'.*/s/(.*)')
reqcount=1
sharedict=set()
def getlist(shareid, fileid):
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='
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
for line in lines:
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)
else:
print(line)
sys.stdout.flush()
def main():
try:
with(open(sys.argv[1]+".txt","r",encoding="utf-8")) as f:
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)
except:
pass
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(shareid,fileid)
main()

78
pg/lib/pikpakclass.json Normal file
View file

@ -0,0 +1,78 @@
[
{"type_id":"https://mypikpak.com/s/VNRT8Wr8BGyw1kt1HkijKR4Qo1", "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/VNBXQHEBywwEP48SYNoLGhg-o1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧10"},
{"type_id":"https://mypikpak.com/s/VNCKGMKeL4KQWxNSeNl-aNK8o1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧11"},
{"type_id":"https://mypikpak.com/s/VNCKIgIdXbeMUnS27Hc7ifoho1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧12"},
{"type_id":"https://mypikpak.com/s/VNCKK_lIL4KQWxNSeNl-b-Avo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧13"},
{"type_id":"https://mypikpak.com/s/VNCPyF1ibAmUFsTwcgPpV2RPo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧14"},
{"type_id":"https://mypikpak.com/s/VNCPyIV4bsikE1REQUzU3HAKo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧15"},
{"type_id":"https://mypikpak.com/s/VNCPyLg-XbeMUnS27Hc8e-evo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧16"},
{"type_id":"https://mypikpak.com/s/VNCPyOHZfY9FgjheL_s6tE0Eo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧17"},
{"type_id":"https://mypikpak.com/s/VNCdGBWsTsU_1xrcd7arNGkyo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧18"},
{"type_id":"https://mypikpak.com/s/VNCdGaN8bsik85HcYchTzGwpo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧19"},
{"type_id":"https://mypikpak.com/s/VNCdGlQdbAmU3kIGsTh-INYQo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧20"},
{"type_id":"https://mypikpak.com/s/VNCdGvg1QqH-jGYGfgcDoqWho1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧21"},
{"type_id":"https://mypikpak.com/s/VNCdHOhJTsU_1xrcd7arNWAuo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧22"},
{"type_id":"https://mypikpak.com/s/VNCdHU8Xbsik85HcYchTzRlwo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧23"},
{"type_id":"https://mypikpak.com/s/VNDJ--9QP3sxqczyGV8n35pUo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧24"},
{"type_id":"https://mypikpak.com/s/VNDJ-2f3xeTB-N74vaHopsB8o1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧25"},
{"type_id":"https://mypikpak.com/s/VNDJ-6m_P3sxqczyGV8n37Lso1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧26"},
{"type_id":"https://mypikpak.com/s/VNDJ-AxdxeTB-N74vaHoptVeo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧27"},
{"type_id":"https://mypikpak.com/s/VNDJ-F3_OLXqy_gd7t0qYPsTo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧28"},
{"type_id":"https://mypikpak.com/s/VNJ-KE7EDnDGgthutL8stFDco1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧29"},
{"type_id":"https://mypikpak.com/s/VNBGhK25s795X1GmZKtAzarxo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧3"},
{"type_id":"https://mypikpak.com/s/VNJ-KU-PpnUdNyThzczFHNY0o1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧30"},
{"type_id":"https://mypikpak.com/s/VNKX8Tmvg-_M2ALfxiCXcfbOo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧31"},
{"type_id":"https://mypikpak.com/s/VNKX8k1cDAay6DoGUEtaSmGjo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧32"},
{"type_id":"https://mypikpak.com/s/VNLt5PTTTImas0d3tF0BaJ7Zo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧33"},
{"type_id":"https://mypikpak.com/s/VNLt5dq-vYqkqbIuRJRjLoiso1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧34"},
{"type_id":"https://mypikpak.com/s/VNLuwIBrvYqkY2pqZt625qhyo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧35"},
{"type_id":"https://mypikpak.com/s/VNLuwKtrvYqkY2pqZt625r-eo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧36"},
{"type_id":"https://mypikpak.com/s/VNLyAGr0Qwh14Yz40bSwR67do1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧37"},
{"type_id":"https://mypikpak.com/s/VNLyAJDMZAcORH2HWUMhsvGWo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧38"},
{"type_id":"https://mypikpak.com/s/VNLySlyJpr1J-y7W15G4N6xXo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧39"},
{"type_id":"https://mypikpak.com/s/VNBGjxzm-8JG74imIZI6qg8Do1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧4"},
{"type_id":"https://mypikpak.com/s/VNLySocLsRCm72XnqKv7pueto1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧40"},
{"type_id":"https://mypikpak.com/s/VNLyXhUKwRiUO2berP7_qFoao1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧41"},
{"type_id":"https://mypikpak.com/s/VNBH3M6lJXuc4t0v-pqB0dFQo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧5"},
{"type_id":"https://mypikpak.com/s/VNBHRToB_DHT_nmBnwoud8QJo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧6"},
{"type_id":"https://mypikpak.com/s/VNBHSrWiCjrm4NxyIs_56cHpo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧7"},
{"type_id":"https://mypikpak.com/s/VNBXPhSLJktjoBJJe8ptXNbco1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧8"},
{"type_id":"https://mypikpak.com/s/VNBXPwl3bA6kG0eqiyJI3ulOo1","type_name":"/🕸我的PikPak分享/电视剧140T/电视剧9"},
{"type_id":"https://mypikpak.com/s/VNDb64cFhcn-yqNU5EWDgRZno1","type_name":"/🕸我的PikPak分享/电影75T/电影1"},
{"type_id":"https://mypikpak.com/s/VNM8-8Xlpr1JhKCjzr3hvs2Vo1","type_name":"/🕸我的PikPak分享/电影75T/电影10"},
{"type_id":"https://mypikpak.com/s/VNDb67b3hcn-yqNU5EWDgUDWo1","type_name":"/🕸我的PikPak分享/电影75T/电影2"},
{"type_id":"https://mypikpak.com/s/VNDca2W6hcn-yqNU5EWE-PLOo1","type_name":"/🕸我的PikPak分享/电影75T/电影3"},
{"type_id":"https://mypikpak.com/s/VNE5x-MGTKDwgZ2rSxM1xhrNo1","type_name":"/🕸我的PikPak分享/电影75T/电影4"},
{"type_id":"https://mypikpak.com/s/VNEdL2CecnVliWDE0AMdROMzo1","type_name":"/🕸我的PikPak分享/电影75T/电影5"},
{"type_id":"https://mypikpak.com/s/VNF8bBfoU5Warn8hY_LZYs3Xo1","type_name":"/🕸我的PikPak分享/电影75T/电影6"},
{"type_id":"https://mypikpak.com/s/VNGGxkU4AYqxeOi-Ts-R_4koo1","type_name":"/🕸我的PikPak分享/电影75T/电影7"},
{"type_id":"https://mypikpak.com/s/VNGHC0J31cRSfFQDubOJoLCAo1","type_name":"/🕸我的PikPak分享/电影75T/电影8"},
{"type_id":"https://mypikpak.com/s/VNM7V9gdpr1JgySnCF-P07aJo1","type_name":"/🕸我的PikPak分享/电影75T/电影9"},
{"type_id":"https://mypikpak.com/s/VNRnagBUCfOipBFoWCX8EGSdo1","type_name":"/🕸我的PikPak分享/高清电影/合集10"},
{"type_id":"https://mypikpak.com/s/VNRR1cc0LmyyGDe21AoK6Ulho1","type_name":"/🕸我的PikPak分享/高清电影/合集11"},
{"type_id":"https://mypikpak.com/s/VNRlVwQYQgqv395kxGBhPmDoo1","type_name":"/🕸我的PikPak分享/高清电影/合集2"},
{"type_id":"https://mypikpak.com/s/VNRm3yZtBGywKa118vzvgAg6o1","type_name":"/🕸我的PikPak分享/高清电影/合集3"},
{"type_id":"https://mypikpak.com/s/VNRmWOmQBGywKa118vzvlRiZo1","type_name":"/🕸我的PikPak分享/高清电影/合集4"},
{"type_id":"https://mypikpak.com/s/VNRmoFmoroRROhEkho_8kY_1o1","type_name":"/🕸我的PikPak分享/高清电影/合集5"},
{"type_id":"https://mypikpak.com/s/VNRn6HqiBGywKa118vzvuqFqo1","type_name":"/🕸我的PikPak分享/高清电影/合集6"},
{"type_id":"https://mypikpak.com/s/VNRnJASUroRROhEkho_8tpGfo1","type_name":"/🕸我的PikPak分享/高清电影/合集7"},
{"type_id":"https://mypikpak.com/s/VNRlg0pS7aWN3HWJGVGp2pZTo1","type_name":"/🕸我的PikPak分享/高清电影/合集8"},
{"type_id":"https://mypikpak.com/s/VNRnQbMN7aWN3HWJGVGpSkxFo1","type_name":"/🕸我的PikPak分享/高清电影/合集9"},
{"type_id":"https://mypikpak.com/s/VNRTAMNvBGyw1kt1HkijL-n0o1","type_name":"/🕸我的PikPak分享/高清剧集A/合集11"},
{"type_id":"https://mypikpak.com/s/VNRTAhOZLmyyX7yiCb6t1jTuo1","type_name":"/🕸我的PikPak分享/高清剧集A/合集14"},
{"type_id":"https://mypikpak.com/s/VNRTBCKPLmyyX7yiCb6t1qEKo1","type_name":"/🕸我的PikPak分享/高清剧集A/合集18"},
{"type_id":"https://mypikpak.com/s/VNRT8zZXg3b_VYsn0bCwlVh5o1","type_name":"/🕸我的PikPak分享/高清剧集A/合集3"},
{"type_id":"https://mypikpak.com/s/VNRT9eYeBGyw1kt1HkijKmL_o1","type_name":"/🕸我的PikPak分享/高清剧集A/合集5"},
{"type_id":"https://mypikpak.com/s/VNRTA2HOg3b_VYsn0bCwlhKyo1","type_name":"/🕸我的PikPak分享/高清剧集A/合集8"},
{"type_id":"https://mypikpak.com/s/VNRTCK4Lg3b_VYsn0bCwmeWXo1","type_name":"/🕸我的PikPak分享/高清剧集B/合集24"},
{"type_id":"https://mypikpak.com/s/VNRTCmbnCfOi1Zl2Ft25Sjw8o1","type_name":"/🕸我的PikPak分享/高清剧集B/合集30"},
{"type_id":"https://mypikpak.com/s/VNRTD2ceyM2NQYlKo78MEzY0o1","type_name":"/🕸我的PikPak分享/高清剧集B/合集32"},
{"type_id":"https://mypikpak.com/s/VNRTDH_KBGyw1kt1HkijMHG5o1","type_name":"/🕸我的PikPak分享/高清剧集B/合集34"},
{"type_id":"https://mypikpak.com/s/VNRTDh9fQgqv_6lSY5Z75Z5Yo1","type_name":"/🕸我的PikPak分享/高清剧集B/合集35"},
{"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"}
]

9972
pg/lib/pikpakclass.json.txt Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,10 @@
[
{
"type_id":"pikpak分享地址1",
"type_name":"分享名稱1"
},
{
"type_id":"pikpak分享地址2",
"type_name":"分享名稱2"
}
]

View file

@ -13,9 +13,9 @@
"uc_is_vip":false,
"uc_vip_thread_limit":0,
"uc_flags":"4kz|auto",
"thunder_thread_limit":0,
"thunder_thread_limit":2,
"thunder_is_vip":false,
"thunder_vip_thread_limit":0,
"thunder_vip_thread_limit":2,
"thunder_flags":"4k|4kz|auto",
"aliproxy":"",
"proxy":"",
@ -30,5 +30,11 @@
"yd_auth":"",
"yd_thread_limit":4,
"yd_flags":"4kz|auto",
"yd_danmu":true
"yd_danmu":true,
"pikpak_username":"",
"pikpak_password":"",
"pikpak_flags":"4k|auto",
"pikpak_thread_limit":2,
"pikpak_vip_thread_limit":2,
"pikpak_proxy":""
}

1542
pg/lib/wogg.json Normal file

File diff suppressed because it is too large Load diff