fix
This commit is contained in:
parent
e48528805b
commit
ca7efc1d46
@ -51,7 +51,7 @@ class htmlUtils:
|
||||
if url_text != None:
|
||||
return html.fromstring(url_text)
|
||||
while url_text == None:
|
||||
if count <= 10:
|
||||
if count <= 3:
|
||||
try:
|
||||
print(f"请求地址:{curl}")
|
||||
res = s.get(curl,stream=True, headers=cls.headers, timeout=180)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user