commit
9c5fef1a4d
412 files changed
+94582
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import re
|
||||
import requests
|
||||
|
||||
t = requests.get("https://www.gongzicp.com/assets/index.eef719ce.js", timeout=60).text
|
||||
# find webapi base
|
||||
for m in re.finditer(r"webapi[^\"']{0,40}", t):
|
||||
print(m.group()[:80])
|
||||
|
||||
# find all strings containing GetList or search
|
||||
seen = set()
|
||||
for m in re.finditer(r"[\"'][/][a-zA-Z]+/[a-zA-Z][a-zA-Z0-9]*[\"']", t):
|
||||
s = m.group().strip("'\"")
|
||||
if any(k in s.lower() for k in ("novel", "search", "home", "rank", "type")):
|
||||
if s not in seen:
|
||||
seen.add(s)
|
||||
print(s)
|
||||
Reference in new issue
Block a user