muhep06 / youtube-dl-api-server

This is a youtube-dl API server! You can make easily youtube-dl integrated apps with this server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

youtube-dl API Server

This is a youtube-dl API server! You can make easily youtube-dl integrated apps with this server.

Currently under development. The server ip and port can be changed in main.py. Will be improved with new updates.

Mp3Bot YouTube-dl API Server now supporting download mp3 from easily!

🎉🥳Now Youtube-dl Api Server is out for Docker.

  • English
http://localhost:1998/en

English Mp3 Download page

  • Turkish
http://localhost:1998/tr

English Mp3 Download page

Requirements

  • Python 3
  • pip
  • FFMPEG

Copy the ffmpeg.exe and ffprobe.exe files to the project directory. Only for Windows. For Linux, copy the following code and paste it into your terminal.

sudo apt-get install ffmpeg -y
  • Install required packages with pip. Copy and paste following code into your console.
pip3 install -r requirements.txt

Start Server

  • Go to project root folder and open console.
  • Copy and paste following code into your console.
python main.py

Usage

Get Video Info
http://localhost:1998/api/info?video={video_url}
Download Video
http://localhost:1998/api/download?video={video_url}

It is downloaded to the root directory.

Get Download Queue
http://localhost:1998/api/queue

License

This project is licensed under the MIT License - see the LICENSE file for details

About

This is a youtube-dl API server! You can make easily youtube-dl integrated apps with this server.

License:MIT License


Languages

Language:Python 52.4%Language:HTML 30.6%Language:JavaScript 11.4%Language:CSS 3.6%Language:Dockerfile 1.9%