2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-04 12:05:02 +01:00
Files
dockerfiles_vimagick/yt-dlp/README.md
2025-08-25 15:57:56 +08:00

24 lines
413 B
Markdown

yt-dlp
======
[yt-dlp][1] is a small command-line program to download videos from
<https://www.youtube.com/> and a few more sites.
## Tutorial
```bash
# create an alias
$ alias yt='docker run --rm -u $(id -u):$(id -g) -v $PWD:/data vimagick/yt-dlp'
# list all formats
$ yt -F nVjsGKrE6E8
# download it
$ yt -f 18 -o video.mp4 nVjsGKrE6E8
# play it
$ vlc video.mp4
```
[1]: https://github.com/yt-dlp/yt-dlp