Deactivated saving of html page

This commit is contained in:
BuildTools 2019-08-05 23:08:36 +02:00
parent 4b4e73f69e
commit 32c5e0510c

View File

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