An API server based on yt-dlp
Project description
youtubedlapi-server-infusiblecoder
A REST API server for getting the info for videos from different sites, powered by yt-dlp. The installation instructions and the documentation are available at Read the Docs.
About
youtubedlapi-server-infusiblecoder
is released to the public domain, read the License for more info.
NEW Example Usage
uvicorn youtubedlapi_server_infusiblecoder.app:app_asgi --host 127.0.0.1 --port 9191 --workers 1 --log-level info
or
uvicorn youtubedlapi_server_infusiblecoder.app:app_asgi --host 0.0.0.0 --port 9191 --workers 1 --log-level info
or for running in bacground
nohup uvicorn youtubedlapi_server_infusiblecoder.app:app_asgi --host 0.0.0.0 --port 9191 --workers 1 --log-level info &
Run in BG with A Repeted Job To Restart Server When Its Down
create a script named 'bgapi.sh' add below code in the file
while true
do
uvicorn youtubedlapi_server_infusiblecoder.app:app_asgi --host 0.0.0.0 --port 9191 --workers 1 --log-level info
sleep 2500
done
save it then run this command to run it in the BG
nohup ./bgapi.sh &
Old Example Usage
youtubedlapi-server-infusiblecoder -p 8000 --host 127.0.0.1 --number-processes 1
or
youtubedlapi-server-infusiblecoder -p 9191 --host 0.0.0.0 --number-processes 1
or for running in bacground
nohup youtubedlapi-server-infusiblecoder -p 9191 --host 0.0.0.0 --number-processes 1 &
Run in BG with A Repeted Job To Restart Server When Its Down
create a script named 'bgapi.sh' add below code in the file
while true
do
youtubedlapi-server-infusiblecoder -p 9191 --host 0.0.0.0 --number-processes 1
sleep 2500
done
save it then run this command to run it in the BG
nohup ./bgapi.sh &
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for youtubedlapi_server_infusiblecoder-3.7.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eda039ab89c889e3899114419e5dffa497e175658b009ff4d31a8e1625f9b41f |
|
MD5 | bd7158001d5a63c47262fa59b32d1a61 |
|
BLAKE2b-256 | 3c80213bfe3c80ed7e043a2f9e1c29223895df6fb9d9e710e6acec9e803b444f |
Hashes for youtubedlapi_server_infusiblecoder-3.7.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6c3658de9ee909b36c4a4c5a59c4f06305b8b38a79cd959c3a79ae2bdf69796 |
|
MD5 | 0a8be4c7e3b75914a42060a6cfb76b6c |
|
BLAKE2b-256 | 72630a7249a1cb80b1e315afb7eb19a6f70cd99cd66124c7f022c3ffa9ea65dc |