fixt
This commit is contained in:
parent
c0a1bb1517
commit
060622d959
@ -61,6 +61,8 @@ class htmlUtils:
|
|||||||
data_json = res.json()
|
data_json = res.json()
|
||||||
except:
|
except:
|
||||||
count += 1
|
count += 1
|
||||||
|
print(f"请求失败,第{count}次重试中...")
|
||||||
|
time.sleep(1)
|
||||||
cls.getJSON(curl)
|
cls.getJSON(curl)
|
||||||
return data_json
|
return data_json
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user