From 29cf3306996b1ce4884562d85e61423af62e95bf Mon Sep 17 00:00:00 2001 From: jeancf Date: Mon, 22 Aug 2022 14:09:43 +0200 Subject: [PATCH] Improved error message and removed nitter mirror --- twoot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/twoot.py b/twoot.py index ddc8a97..5337d53 100755 --- a/twoot.py +++ b/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)