- The simple yt-dlp-api server is for extracting YouTube video information with YouTube video URL.
- We provide the simple web UI for accessing, using and downloading YouTube video easily.
- It can use the
dockerto build and run this server easily.
- The
dockercommand is available.
-
Since YouTube JS challenge mechanism is changed, we only support the
0.2.0+version currently because the old version is deprecated. -
Preparing the Linux-like operating system.
-
Installing the
docker. -
Running the
docker compose buildto build this Docker compose. -
Running the
docker compose up -dto run this server as the background service. -
Using the prefered web browser to browse the
http://localhost/web/index_en.html. -
Enjoy it!
- Once the Docker Compose has been done, it can run following commands to execute tests:
docker compose exec yt-dlp-api pip install -r requirements-dev.txt
docker compose exec yt-dlp-api python -m pytest -s ./app/tests- If you want to change the Nginx port number, please edit the nginx.ports setting.
- If you want to customize yt-dlp options, please edit this dict variable.