fix
This commit is contained in:
parent
fddefe0af2
commit
a350d640ec
@ -60,6 +60,7 @@ class htmlUtils:
|
|||||||
if count < 5:
|
if count < 5:
|
||||||
try:
|
try:
|
||||||
res = requests.get(curl, headers=cls.headers, timeout=180)
|
res = requests.get(curl, headers=cls.headers, timeout=180)
|
||||||
|
time.sleep(1.5)
|
||||||
data_json = res.json()
|
data_json = res.json()
|
||||||
return data_json
|
return data_json
|
||||||
except:
|
except:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user