diff --git a/connectors.py b/connectors.py index 440f449..d65139d 100644 --- a/connectors.py +++ b/connectors.py @@ -10,7 +10,7 @@ from urllib.parse import quote import requests from bs4 import BeautifulSoup -from requests import ReadTimeout +from requests import Timeout from config import IS_DEBUG, CACHE_TIMEOUT, BLACKLIST_WORDS from models import AnimeLink @@ -164,7 +164,7 @@ class Connector(ABC): output = response.text http_code = response.status_code - except ReadTimeout as e: + except Timeout as e: output = '' http_code = 500 if IS_DEBUG: