Twitch Chat Logger. Monitors Twitch chat using Selenium & BeautifulSoup and logs all chat messages to a SQLite database file. Written in Python3.
- Only press ctrl+c ONCE to exit. Pressing it multiple times could leave the browser driver to run in the background even though the CLI is closed.
- Currently only works with popout chats
- Only tested on Windows. May need modification for other OSs.
- Chrome Browser
- Chrome Driver
- Python 3 & pip (or some variant)
- Dependencies in requirements.txt
- Monitors chat messages, logs into sql database
- Messages stored in array will save to database at around 700~ messages to reduce ram usage.
-
Download ZIP or clone repository
-
Install dependencies
- pip install -r requirements.txt
-
Download chrome driver
- https://chromedriver.chromium.org/
- Be sure your downloaded driver is the same version as the regular chrome browser you have installed. you can check chrome version by going to help>about chrome
- Unzip and place .exe in the folder: drivers/chrome/
-
Open CMD in program directory and run:
- python run.py
- Clean up code / user input
- Executable?
- Add more driver support