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.

NEW Example Usage

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 &

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 --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


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

youtubedlapi_server_infusiblecoder-3.7.9-py2.py3-none-any.whl (19.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file youtubedlapi_server_infusiblecoder-3.7.9.tar.gz.

File metadata

File hashes

Hashes for youtubedlapi_server_infusiblecoder-3.7.9.tar.gz
Algorithm Hash digest
SHA256 90dd82087e09714ba60ef5689c05d214e1dbc7fb8faa350057e6210fa1932736
MD5 2fd7fb5cb71d49b5803b3d5597426d86
BLAKE2b-256 ab41e730f91188c8242eddb7a80845c2f0fbe45f777c2028c0c1ce380b496a18

See more details on using hashes here.

File details

Details for the file youtubedlapi_server_infusiblecoder-3.7.9-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for youtubedlapi_server_infusiblecoder-3.7.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 172567bd70def38e22eea8d8193f4c0633a376260aaf8ee3d8821ce37ddb3873
MD5 e881836687ee934446c20d618c2d1ef7
BLAKE2b-256 7cabc081c273bc9dd63e693eb9a8a4fb8620a851088d7ad735599071caab5177

See more details on using hashes here.

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