ryansun96 / youtube-dl

Docker image to download videos from YouTube

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

youtube-dl

Environment for running youtube-dl in docker.

  • built on top of alpine base image
  • includes ffmpeg in order to allow youtube-dl stitch together high quality videos, which are generally served as separate audio and video tracks
  • youtube-dl is the entrypoint of the image

Example usage:

Build the image:

$ docker build -t rsun/youtube-dl:1.0 .

Download a video:

$ docker run -it --rm -v "$(pwd):/src" rsun/youtube-dl:1.0 \
    -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]' \
    -o /src/video.mp4 \
    https://www.youtube.com/watch?v=irOlNknGG0Q

About

Docker image to download videos from YouTube

License:MIT License


Languages

Language:Dockerfile 100.0%