Twitch Prime RSS Project
This project scrapes the Twitch Prime rewards page to generate a RSS feed of items.
Live updates will also be pulled.
If you are having issues, you may run class_count.py
to get an idea of which classes to scrape, although I find the script unnecessary now.
You may also run db.py
before anything else to create the database, but that too is optional and redundant.
Run generate_feed.py
to generate the feed.
This code is designed around the following:
- Python 3.6+
bs4
for scrapingselenium
because the page only loads on "actual" browsersfeedgen
for the RSS feed itself- other requirements
Pick and install a webdriver
of your choice for selenium
. Your webdriver
should also match the installed browser. If you have issues choosing, you may try Firefox (geckodriver
). They are tested for this project and run headless.
webdriver
and browser is in your $PATH
.
Pulled for archiving.
This project is not affiliated with or endorsed by Twitch or Amazon. See LICENSE
for more detail.