Skip to main content

An API server based on yt-dlp

Project description

PyPI Downloads Downloads Downloads License

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.

Example

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

youtubedlapi_server_infusiblecoder-3.7.4.tar.gz (14.6 kB view hashes)

Uploaded Source

Built Distribution

youtubedlapi_server_infusiblecoder-3.7.4-py2.py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page