This commit is contained in:
cwx committed 2022-12-08 07:59:03 +08:00
1 parent c0a1bb1517
commit 060622d959
1 file changed
+2
+2
View File
@@ -61,6 +61,8 @@ class htmlUtils:
data_json = res.json()
except:
count += 1
print(f"请求失败,第{count}次重试中...")
time.sleep(1)
cls.getJSON(curl)
return data_json