From 32c5e0510c32f7ffc3a3088ce7f2280d77b68260 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Mon, 5 Aug 2019 23:08:36 +0200 Subject: [PATCH] Deactivated saving of html page --- twoot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/twoot.py b/twoot.py index 27072cc..fe6d789 100755 --- a/twoot.py +++ b/twoot.py @@ -145,10 +145,10 @@ def main(argv): # Download twitter page of user response = requests.get('https://twitter.com/' + twit_account, headers=headers) - # DEBUG: Save page to file - of = open('twitter.html', 'w') - of.write(response.text) - of.close() + ## DEBUG: Save page to file + #of = open('twitter.html', 'w') + #of.write(response.text) + #of.close() # Verify that download worked if response.status_code != 200: