参数调优

This commit is contained in:
shmilylty
2019-08-11 15:53:49 +08:00
parent f426b8f2f6
commit 4bb52f4183
6 changed files with 22 additions and 20 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ class CheckRobots(Module):
for url in urls:
self.header = self.get_header()
self.proxy = self.get_proxy(self.source)
self.timeout = 5
self.timeout = 10
response = self.get(url, allow_redirects=False)
if response:
break