diff --git a/proxy/endpoints.py b/proxy/endpoints.py index 3166380..2253d01 100644 --- a/proxy/endpoints.py +++ b/proxy/endpoints.py @@ -88,7 +88,7 @@ def url_ok(url) -> bool: try: r = requests.head(url, timeout=10) return bool(r.status_code) - except requests.exceptions.ConnectionError: + except requests.exceptions.RequestException: return False