Download images tweeted and/or retweeted by user (who would've thought).
Wrote this so I could download all the weeb art stuff I retweet.
pip install -r requirements.txt
credentials.ini
file with the following format:[CREDENTIALS]
PublicConsumerKey=public_consumer_key
SecretConsumerKey=secret_consumer_key
PublicAccessToken=public_access_token
SecretAccessToken=secret_access_token
Pretty straight forward. Download the source code and run:
$ py downloader.py -u username -i number_of_tweets
Files will then be saved as TweetAuthorUsername_ImageFilename.jpg
Note that Twitter's API limits the number_of_tweets
to 3200.