mirror of
https://gitlab.com/jeancf/twoot.git
synced 2025-01-18 15:27:07 +00:00
Set debug=0 on call to download to avoid mail spam
This commit is contained in:
parent
ae60d2e002
commit
df4eaa0dd7
2
twoot.py
2
twoot.py
|
@ -127,7 +127,7 @@ def cleanup_tweet_text(tt_iter, tweet_uri, get_vids):
|
|||
if 'video' in data_expanded_path:
|
||||
if get_vids:
|
||||
# Download video from twitter and store in filesystem
|
||||
twitter_dl = twitterdl.TwitterDownloader(tweet_uri, target_width=500, debug=1)
|
||||
twitter_dl = twitterdl.TwitterDownloader(tweet_uri, target_width=500, debug=0)
|
||||
try:
|
||||
twitter_dl.download()
|
||||
except json.JSONDecodeError:
|
||||
|
|
Loading…
Reference in New Issue
Block a user