Reputation: 117
There is a Twitter user who posts valuable stuff and I want to save his tweets not as text but as images (screenshots) just as you see it on your phone or computer.
I installed python-twitter and tweepy but I didn't find a solution in the docs and neither in communities so far.
Alternatively: Is there another way to save tweets in a kind of pretty, visually appealing way?
Thank you in advance.
Upvotes: 0
Views: 915
Reputation: 117
I figured it out. Using Selenium Webdriver to open the Twitter account page in the browser, then scrape the tweets and use a screenshot tool to make an image. This looping through all tweets.
Upvotes: 0
Reputation: 19
I usually use this site called tweetcyborg.com It converts any tweet into an image.
Upvotes: 1
Reputation: 5330
With those libraries you can only extract Twitter data. Those aren't image processing libraries. You will have to write your own logic how you want those pictures displayed.
Look into Pillow.
Upvotes: 2