update top500

This commit is contained in:
HZY
2018-11-06 10:30:04 +08:00
parent 0418df2e6b
commit fdcba3550b
3 changed files with 24 additions and 24 deletions

View File

@@ -99,10 +99,10 @@ class DomainScaner(threading.Thread):
is_proxy = False
try:
requests.get('http://' + domain, timeout=10, headers=requests_header)
requests.get('http://www.' + domain, timeout=10, headers=requests_header)
except BaseException:
try:
requests.get('http://www.' + domain, timeout=10, headers=requests_header)
requests.get('http://' + domain, timeout=10, headers=requests_header)
except BaseException:
is_proxy = True