Add chat_downloader support with fallback for live chat downloads

- Integrated chat_downloader as an optional dependency for downloading live chat.
- Implemented fallback logic to use chat_downloader when TwitchDownloaderCLI fails or is not available.
- Enhanced chat rendering process to handle different JSON formats from chat_downloader.
- Updated requirements.txt to include chat-downloader package.
- Modified start.bat to allow passing additional arguments for flexibility.
- Improved error handling and logging for chat download processes.
- Added command-line options for testing chat-only mode and configuring chat_downloader behavior.
This commit is contained in:
MaddoScientisto 2026-02-10 23:42:22 +01:00
commit b50a4bad02
4 changed files with 801 additions and 47 deletions

View file

@ -10,7 +10,8 @@ rem Activate the virtual environment
pip install -r requirements.txt
rem Run the desired command in the virtual environment
python twitch-archive.py -u %1
rem Pass username as -u and forward all additional arguments
python twitch-archive.py -u %1 %2 %3 %4 %5 %6 %7 %8 %9
rem Deactivate the virtual environment
call "%VENV_PATH%\Scripts\deactivate.bat"