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.
youtubedlapi-server-infusiblecoder
is released to the public domain, read the License for more info.
uvicorn youtubedlapi_server_infusiblecoder.app:app --host 127.0.0.1 --port 9191 --workers 1 --log-level info
or
uvicorn youtubedlapi_server_infusiblecoder.app:app --host 0.0.0.0 --port 9191 --workers 1 --log-level info
or for running in bacground
nohup uvicorn youtubedlapi_server_infusiblecoder.app:app --host 0.0.0.0 --port 9191 --workers 1 --log-level info &
create a script named 'bgapi.sh' add below code in the file
while true
do
uvicorn youtubedlapi_server_infusiblecoder.app:app --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 &
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 &
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 &