mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-23 20:11:11 +00:00
Good now
This commit is contained in:
parent
509c3dad86
commit
8a21de8c26
2
twoot.py
2
twoot.py
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user