13 lines
461 B
Python
13 lines
461 B
Python
import re
|
|||
|
|
import requests
|
||
|
|
|
||
|
|
html = requests.get("https://www.gongzicp.com/", timeout=30).text
|
||
|
|
for m in re.finditer(r"/assets/[^\"']*Search[^\"']*\.js", html):
|
||
|
|
print("bundle", m.group())
|
||
|
|
|
||
|
|
for m in re.finditer(r"/assets/index\.[a-f0-9]+\.js", html):
|
||
|
|
jsurl = "https://www.gongzicp.com" + m.group()
|
||
|
|
t = requests.get(jsurl, timeout=60).text
|
||
|
|
for m2 in re.finditer(r".{0,60}searchNovel.{0,100}", t):
|
||
|
|
print(m2.group()[:220])
|
||
|
|
print("---")
|