feat: add standalone chat downloader script and batch file for testing
This commit is contained in:
parent
0d3cdfd12c
commit
22a1f5b600
3 changed files with 279 additions and 8 deletions
18
start_chat_only.bat
Normal file
18
start_chat_only.bat
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
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 Ensure required packages are installed
|
||||
pip install -r requirements.txt
|
||||
|
||||
rem Run the standalone chat downloader script
|
||||
rem Usage: start_chat_only.bat <username> [--output path] [--max-messages N] [--timeout S] [--verbose] [--foreground] [--use-chat-downloader-primary]
|
||||
rem Pass username as -u and forward additional arguments (mirrors start.bat behavior)
|
||||
python run_chat_only.py -u %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||
|
||||
rem Deactivate the virtual environment
|
||||
call "%VENV_PATH%\Scripts\deactivate.bat"
|
||||
Loading…
Add table
Add a link
Reference in a new issue