mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-27 22: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
|
# Download twitter page of user
|
||||||
response = requests.get('https://twitter.com/' + twit_account, headers=headers)
|
response = requests.get('https://twitter.com/' + twit_account, headers=headers)
|
||||||
|
|
||||||
# DEBUG: Save page to file
|
## DEBUG: Save page to file
|
||||||
of = open('twitter.html', 'w')
|
#of = open('twitter.html', 'w')
|
||||||
of.write(response.text)
|
#of.write(response.text)
|
||||||
of.close()
|
#of.close()
|
||||||
|
|
||||||
# Verify that download worked
|
# Verify that download worked
|
||||||
if response.status_code != 200:
|
if response.status_code != 200:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user