16 lines
464 B
Python
16 lines
464 B
Python
import re
|
|||
|
|
import requests
|
||
|
|
|
||
|
|
chunks = [
|
||
|
|
"SearchH5.1c778303.js",
|
||
|
|
"TypeH5.e1133e1d.js",
|
||
|
|
"HomeH5.2bbaaa98.js",
|
||
|
|
"NovelListH5.a284bf69.js",
|
||
|
|
]
|
||
|
|
for chunk in chunks:
|
||
|
|
t = requests.get(f"https://www.gongzicp.com/assets/{chunk}", timeout=60).text
|
||
|
|
print("===", chunk, "len", len(t))
|
||
|
|
for m in re.finditer(r"url:\s*[\"'][/][^\"']+[\"']", t):
|
||
|
|
print(m.group())
|
||
|
|
for m in re.finditer(r"[\"']/novel/[a-zA-Z]+[\"']", t):
|
||
|
|
print(m.group())
|