https://github.com/peter279k/yt-dlp-api
The simple yt-dlp-api server is used to extract YouTube video URL easily
https://github.com/peter279k/yt-dlp-api
fastapi python310 python39
Last synced: 10 months ago
JSON representation
The simple yt-dlp-api server is used to extract YouTube video URL easily
- Host: GitHub
- URL: https://github.com/peter279k/yt-dlp-api
- Owner: peter279k
- License: mit
- Created: 2023-04-21T04:18:03.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-01-04T06:56:32.000Z (about 1 year ago)
- Last Synced: 2025-05-07T03:47:16.013Z (10 months ago)
- Topics: fastapi, python310, python39
- Language: Python
- Homepage: https://yt-dlp-api.peterli.website
- Size: 35.2 KB
- Stars: 12
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yt-dlp-api
# Introduction
The simple yt-dlp-api server is for extracting YouTube video information with YouTube video URL.
# Usage
- Preparing the Linux-like operating system.
- Preparing the `Python 3.7+` version in the operating system.
- Install the `pipenv` with running the `pip3 install -U pipenv` command.
- Running the `pipenv install` to create the virtual environment.
- Modifying the `yt-dlp-api.service` file with the `yt-dlp-api.service.example` file.
- Copying the `yt-dlp-api.service` file to the `/etc/systemd/system/` folder.
- Running the `sudo systemctl daemon-reload` to reload the systemd daemon.
- Running the `sudo systemctl enable --now yt-dlp-api.service` to enable and start the service.
- Enjoy it!
# Tips
- Sometimes the `yt-dlp` are updated frequently and it can run the `pipenv run pip install -U yt-dlp` command to upgrade this package and run the `systemctl restart yt-dlp-api.service` command to restart the daemon service.
- Since the yt-dlp `2024.11.04` version has been released, the minimal Python version is `3.9` and the `yt-dlp-api` will support Python `3.9` at least becasue of compatibility.