beautfied the error in #23
This commit is contained in:
BIN
core/__pycache__/__init__.cpython-38.pyc
Normal file
BIN
core/__pycache__/__init__.cpython-38.pyc
Normal file
Binary file not shown.
BIN
core/__pycache__/colors.cpython-38.pyc
Normal file
BIN
core/__pycache__/colors.cpython-38.pyc
Normal file
Binary file not shown.
BIN
core/__pycache__/requester.cpython-38.pyc
Normal file
BIN
core/__pycache__/requester.cpython-38.pyc
Normal file
Binary file not shown.
BIN
core/__pycache__/tests.cpython-38.pyc
Normal file
BIN
core/__pycache__/tests.cpython-38.pyc
Normal file
Binary file not shown.
BIN
core/__pycache__/utils.cpython-38.pyc
Normal file
BIN
core/__pycache__/utils.cpython-38.pyc
Normal file
Binary file not shown.
@@ -17,3 +17,5 @@ def requester(url, scheme, headers, origin):
|
||||
except requests.exceptions.RequestException as e:
|
||||
if 'Failed to establish a new connection' in str(e):
|
||||
print ( ' ' + bad + ' ' + url + ' seems to be down')
|
||||
elif 'requests.exceptions.TooManyRedirects:' in str(e):
|
||||
print (' ' + bad + ' ' + url + 'has too many redirects')
|
||||
|
||||
Reference in New Issue
Block a user