poetry install
source`poetry env info --path`/bin/activateYou 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.
If you need to work with Celery mode, you should:
poetry install -E celeryThere are scripts (docker compose is needed) in ./devenv that help to create local environment for broker(RabbitMQ) and result backend(MongoDB):
cd devenv
./start.shCreate/edit
.envfile if you want to use external broker or backend
Run the worker with:
celery -A celery_worker workerStart flower in http://localhost:5555 with:
celery -A celery_worker flowerIn addition to the methods described in Celery Mode, you can send tasks by:
python send_celery_task.pyFollow the instructions in Monitoring