Scrapes tweets from @anon_opin and presents them as opinion columns from The Guardian.
More samples here.
- Python 3 (I used 3.8)
- Tweepy + API keys
- Requests
- Beautiful Soup
- Selenium ChromeDriver
- Install dependencies
- Add API keys to
keys_blank.py
and rename it tokeys.py
- Make sure
chromedriver.exe
is placed in the working directory - Run
main.py
from a terminal - The script will scrape tweets and then dump 30 png images in a
bad_opinions
directory inside the current working directory
Tested in Windows 10 only.
Disclaimer: The content output by this does not reflect the opinions of the names presented. Or mine.