Giter Site home page Giter Site logo

syedusama5556 / youtubedlapi-server-infusiblecoder Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 2.0 122 KB

A REST API server for getting the info for videos from different sites, powered by yt-dlp.

License: The Unlicense

Python 84.50% Shell 8.28% HTML 1.11% Procfile 0.15% Batchfile 1.38% Dockerfile 4.57%

youtubedlapi-server-infusiblecoder's Introduction

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 &

youtubedlapi-server-infusiblecoder's People

Contributors

syedusama5556 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

vqoley

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.