diff --git a/README.md b/README.md index 10dc4b9..8ce2a36 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,3 @@ -# WARNING: -**Test run on 2025-06-23 17:00 has shown that 2FA method is appended to normal login procedure.** - -**Currently the program will be UNUSABLE.** - -**Will be working on a version with manually cookie parameter injection.** - # Modified from original repo: https://github.com/liblaf/thu-learn-downloader # THU Web Learning Downloader @@ -70,6 +63,8 @@ - download released binary +For Linux users, refer to [this guide](README_linux.md) + ## test run run thu-learn-downloader-windows-x86_64.exe in cmd or powershell. diff --git a/README_linux.md b/README_linux.md new file mode 100644 index 0000000..f3a5a88 --- /dev/null +++ b/README_linux.md @@ -0,0 +1,41 @@ +# Linux Running Guide + +This guide will help you set up and run the project step by step on a Linux environment. + +# 1. Create a Virtual Environment + +First, create a Python virtual environment in the project directory: + +```bash +python -m venv .venv +``` + +# 2. Activate the Virtual Environment and Install Dependencies + +Activate your virtual environment: + +```bash +source ./.venv/bin/activate +``` + +Then install all required packages: + +```bash +pip install -r requirements.txt +``` + +# 3. Initialize Playwright + +Install the necessary browser binaries for Playwright: + +```bash +playwright install +``` + +# 4. Run the Program + +Finally, start the program: + +```bash +python -m thu_learn_downloader.main +```