1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-07-01 19:21:25 +00:00
dockerfiles/youtube/youtube-dl/README.md

24 lines
396 B
Markdown
Raw Normal View History

2015-07-05 05:53:58 +00:00
youtube-dl
==========
2015-07-05 06:43:27 +00: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 05:53:58 +00:00
## Tutorial
```
# create a alias
$ alias yt='docker run --rm -v `pwd`:/data vimagick/youtube-dl'
2015-07-05 06:43:27 +00:00
# list all formats
$ yt -F nVjsGKrE6E8
# download it
2015-07-05 05:53:58 +00:00
$ yt nVjsGKrE6E8
2015-07-05 05:57:12 +00:00
# play it
$ vlc *-nVjsGKrE6E8.mp4
2015-07-05 05:53:58 +00:00
```
[1]: https://rg3.github.io/youtube-dl/