A Python app to catalog and search Twitch VODs.
Twitch search doesn't return all games played in the same VOD. That is, a six hour VOD with multiple games played will only be in the search results for the first game played. (Example of missing VODs)
Twitch provides an API endpoint which lists when a game is switched to and what the new game is. We push this info into a database and can return it at will. Hooray!
(Unfortunately, there's no endpoint returning stream title changes, so we're omitting titles as they may lead to confusion.)
pip install -r requirements.txt- Make a copy of
config.exampleand fill in your desiredchannel_idandclient_id. python init.pypython update.pyFLASK_APP=app.py flask run
* Consider adding a cron to run update.py to add new VODs to the db.
- Swiping left/right & arrow keys navigate between pages
/focuses the search barEscclears (and focuses) the search bar- Search uses
LIKE %[Query]%