TwitchDownloader/start.bat
MaddoScientisto b50a4bad02 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.
2026-02-10 23:42:22 +01:00

17 lines
519 B
Batchfile

rem @echo off
setlocal
rem Set the path to your virtual environment
set VENV_PATH=.\venv314
rem Activate the virtual environment
call "%VENV_PATH%\Scripts\activate.bat"
rem pyenv-venv activate twitcharchive
pip install -r requirements.txt
rem Run the desired command in the virtual environment
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"