motxi / twitter-image-downloader

Download images tweeted and/or retweeted by user (who would've thought)
MIT License
6 stars 0 forks source link
twitter-api twitter-downloader twitter-image-downloader

Twitter Image Downloader

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.

Example

Requirements

[CREDENTIALS]
PublicConsumerKey=public_consumer_key
SecretConsumerKey=secret_consumer_key
PublicAccessToken=public_access_token
SecretAccessToken=secret_access_token

Usage

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.