mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
patch for a connection refusing error (issue #177) where google will refuse your connection because you're sending to many requests to it, will sleep and try again
This commit is contained in:
parent
de767965e5
commit
f1e3c53cb0
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ def parse_search_results(query, url_to_search, verbose=False, **kwargs):
|
|||
req = requests.get(query_url, proxies=proxy_string, params=headers)
|
||||
except ConnectionError:
|
||||
logger.warning(set_color(
|
||||
"target machine refused connection, delaying and trying again..."
|
||||
"target machine refused connection, delaying and trying again...", level=30
|
||||
))
|
||||
time.sleep(3)
|
||||
req = requests.get(query_url, proxies=proxy_string, params=headers)
|
||||
|
|
|
|||
Loading…
Reference in a new issue