Revert "Added saving page to file"

This reverts commit 1faf11222d.
This commit is contained in:
jeancf 2023-07-11 20:41:46 +02:00
parent f64b92d175
commit ea12cea20f

View File

@ -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)