This commit is contained in:
cwx committed 2023-01-09 21:20:55 +08:00
1 parent ca818581b8
commit 7ebf56e5c8
1 file changed
+1 -1
+1 -1
View File
@@ -67,7 +67,7 @@ class htmlUtils:
if count <= 3:
try:
print(f"请求地址:{curl}")
res = s.get(curl,stream=True, headers=cls.headers, timeout=180,allow_redirects=True)
res = s.get(curl,stream=True, headers=cls.headers, timeout=30,allow_redirects=True)
if res.status_code != 200:
cls.remove_HtmlCache(curl)
return None