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

24 lines
421 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
2016-07-03 16:01:27 +02:00
```bash
# create an alias
$ alias yt='docker run --rm -u $(id -u):$(id -g) -v $PWD:/data vimagick/youtube-dl'
2015-07-05 07:53:58 +02:00
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/