This commit is contained in:
jeancf 2023-10-31 16:25:34 +01:00
parent 509c3dad86
commit 8a21de8c26

View File

@ -658,7 +658,7 @@ def get_timeline(session, nitter_url):
# Download twitter page of user # Download twitter page of user
try: try:
twit_account_page = session.get(url, headers=headers, timeout=HTTPS_REQ_TIMEOUT) twit_account_page = session.get(url, timeout=HTTPS_REQ_TIMEOUT)
except requests.exceptions.ConnectionError: except requests.exceptions.ConnectionError:
logging.fatal('Host did not respond when trying to download ' + url) logging.fatal('Host did not respond when trying to download ' + url)
shutdown(-1) shutdown(-1)