beautfied the error in #23

This commit is contained in:
duckie
2020-08-21 15:58:22 +05:30
parent 742e3134fe
commit 0f7d722bf6
6 changed files with 2 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -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')