Twitter Media Watcher
Watches a twitter account for media to be posted, and then downloads it.
I wanted to get screenshots off of my Switch easier. Making a dummy twitter account and this script proved to be the easiest way.
Config goes in
At some point i'll make it not require creating an application manually, maybe.
Lmao twitter doesn't let you do this so you're stuck having to make an application yourself sorry that twitter is so garbage
consumer_key: Your twitter api consumer key
consumer_secret: twitter api consumer secret
access_token: twitter api access token
access_secret: twitter api access secret
false: If true, deletes tweets after downloading the media.
output_dir: Where to download stuff.
pip install -r requirements.txt
config.jsonall fancy like according to the above.
burn_after_readingenabled it will delete all media tweets after downloading them. It doesn't limit itself to ones posted from a Switch.