Skip to content
Downloads YouTube videos and optionally extracts audio (just a web wrapper for youtube-dl)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ytdl
.gitignore
config.py
readme.md
run.py

readme.md

ytdl

A web application for downloading audio/video from YouTube. Basically just a web wrapper for youtube-dl with a stripped-down feature set.

Usage

Installation

You'll need to install youtube-dl. It's recomended that you keep it updated (e.g., via a cron job).

youtube-dl -U                       # If installed manually, or...
pip3 install --upgrade youtube-dl   # ...if installed via pip

You'll also need to install ffmpeg.

Requirements

Starting the Server

Start the server with run.py. By default it will be accessible at localhost:9999. To make the server world-accessible or for other options, see run.py -h.

If you're having trouble configuring your sever, I wrote a blog post explaining how you can get Flask, uWSGI, and Nginx working together.

Bugs and Feature Requests

Feature Requests

  • Add an animated "converting" image (with "this may take a few minutes")
  • Delete downloads after a while
  • Include recommended cron lines for deleting old downloads

Known Bugs

None

Thanks

Thanks to the team behind youtube-dl!

License Information

Written by Gem Newman. Website | GitHub | Twitter

This work is licensed under Creative Commons BY-SA 4.0.

JQuery included under the MIT "Expat" License.

Remember: GitHub is not my CV.

You can’t perform that action at this time.