1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00
dockerfiles/youtube/youtube-dl/README.md
2016-07-03 22:01:27 +08:00

421 B

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 an 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