From ea12cea20f27126044e284042ac65d27d137bff5 Mon Sep 17 00:00:00 2001 From: jeancf Date: Tue, 11 Jul 2023 20:41:46 +0200 Subject: [PATCH] Revert "Added saving page to file" This reverts commit 1faf11222d24b57a1baa2436dbfe198a01d30008. --- twoot.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/twoot.py b/twoot.py index 508beac..29ad2c5 100755 --- a/twoot.py +++ b/twoot.py @@ -890,12 +890,7 @@ def main(argv): status_id = tweet_id.split('/')[3] except Exception as e: logging.critical('Malformed timeline downloaded from nitter instance') - logging.critical('Check ' + TOML['config']['twitter_account'] + '.html') logging.debug(e) - # save page to file - of = open(TOML['config']['twitter_account'] + '.html', 'w') - of.write(twit_account_page.text) - of.close() shutdown(-1) logging.debug('processing tweet %s', tweet_id)