mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-23 20:11:11 +00:00
Improved error message and removed nitter mirror
This commit is contained in:
parent
fe145525ab
commit
29cf330699
3
twoot.py
3
twoot.py
|
@ -37,7 +37,6 @@ import shutil
|
|||
NITTER_URLS = [
|
||||
'https://nitter.42l.fr',
|
||||
'https://nitter.pussthecat.org',
|
||||
'https://nitter.nixnet.services',
|
||||
'https://nitter.fdn.fr',
|
||||
'https://nitter.unixfox.eu',
|
||||
'https://nitter.eu',
|
||||
|
@ -338,7 +337,7 @@ def main(argv):
|
|||
|
||||
# Verify that download worked
|
||||
if twit_account_page.status_code != 200:
|
||||
logging.fatal('The Nitter page did not download correctly from ' + url + '. Aborting')
|
||||
logging.fatal('The Nitter page did not download correctly from ' + url + ' (' + twit_account_page.status_code + '). Aborting')
|
||||
exit(-1)
|
||||
|
||||
logging.info('Nitter page downloaded successfully from ' + url)
|
||||
|
|
Loading…
Reference in New Issue
Block a user