fixt
This commit is contained in:
parent
060622d959
commit
0eea194268
@ -63,7 +63,8 @@ class htmlUtils:
|
||||
count += 1
|
||||
print(f"请求失败,第{count}次重试中...")
|
||||
time.sleep(1)
|
||||
cls.getJSON(curl)
|
||||
res = requests.get(curl, headers=cls.headers,timeout=30)
|
||||
data_json = res.json()
|
||||
return data_json
|
||||
|
||||
@classmethod
|
||||
|
||||
Loading…
Reference in New Issue
Block a user