Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 1.25 KB

File metadata and controls

62 lines (40 loc) · 1.25 KB

Welcome to contributing guide

Get Started

poetry install
source`poetry env info --path`/bin/activate

You had better know about poetry

Different deps is used for different sources:

source deps
Youtube YT-DLP + aria2(as external downloader)
BiliBili Bilix

The main concern are download speed and the ability of integration.

You are free to adjust the download_*.py files for your demand and make PRs.

Celery Mode

If you need to work with Celery mode, you should:

poetry install -E celery

Local Environment

There are scripts (docker compose is needed) in ./devenv that help to create local environment for broker(RabbitMQ) and result backend(MongoDB):

cd devenv
./start.sh

Create/edit .env file if you want to use external broker or backend

Run the worker with:

celery -A celery_worker worker

Start flower in http://localhost:5555 with:

celery -A celery_worker flower

In addition to the methods described in Celery Mode, you can send tasks by:

python send_celery_task.py

Monitoring

Follow the instructions in Monitoring