1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
dockerfiles/youtube/youtube-dl
Nick Cox a62e8ea76a Run the image as the current user
This will make the downloaded files be saved as the current user instead of root :-)
2015-10-13 18:44:01 -06:00
..
Dockerfile add youtube-dl 2015-07-13 00:43:50 +08:00
README.md Run the image as the current user 2015-10-13 18:44:01 -06:00

youtube-dl

youtube-dl is a small command-line program to download videos from https://www.youtube.com/ and a few more sites.

Tutorial

# create a alias
$ alias yt='docker run --rm -u $(id -u):$(id -g) -v `pwd`:/data vimagick/youtube-dl'

# list all formats
$ yt -F nVjsGKrE6E8

# download it
$ yt nVjsGKrE6E8

# play it
$ vlc *-nVjsGKrE6E8.mp4