mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-23 20:11:11 +00:00
Deactivated saving of html page
This commit is contained in:
parent
4b4e73f69e
commit
32c5e0510c
8
twoot.py
8
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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user