Newer
Older
thu-learn-downloader-optimized / README_linux.md

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:

python -m venv .venv

2. Activate the Virtual Environment and Install Dependencies

Activate your virtual environment:

source ./.venv/bin/activate

Then install all required packages:

pip install -r requirements.txt

3. Initialize Playwright

Install the necessary browser binaries for Playwright:

playwright install

4. Run the Program

Finally, start the program:

python -m thu_learn_downloader.main