1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-16 11:37:34 +02:00
dockerfiles/youtube-dl/README.md

24 lines
396 B
Markdown
Raw Normal View History

2015-07-05 07:53:58 +02:00
youtube-dl
==========
2015-07-05 08:43:27 +02:00
[`youtube-dl`][1] is a small command-line program to download videos from
<https://www.youtube.com/> and a few more sites.
2015-07-05 07:53:58 +02:00
## Tutorial
```
# create a alias
$ alias yt='docker run --rm -v `pwd`:/data vimagick/youtube-dl'
2015-07-05 08:43:27 +02:00
# list all formats
$ yt -F nVjsGKrE6E8
# download it
2015-07-05 07:53:58 +02:00
$ yt nVjsGKrE6E8
2015-07-05 07:57:12 +02:00
# play it
$ vlc *-nVjsGKrE6E8.mp4
2015-07-05 07:53:58 +02:00
```
[1]: https://rg3.github.io/youtube-dl/