add time_sleep

This commit is contained in:
caiwx86 2022-12-17 00:51:52 +08:00
parent 1246f6a4b2
commit fddefe0af2

View File

@ -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: