add time_sleep
This commit is contained in:
parent
1246f6a4b2
commit
fddefe0af2
@ -30,6 +30,7 @@ class htmlUtils:
|
||||
try:
|
||||
print(f"请求地址:{curl}")
|
||||
res = s.get(curl,stream=True, headers=cls.headers, timeout=180)
|
||||
time.sleep(3)
|
||||
if type == "bytes":
|
||||
url_text = res
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user