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

413 B

yt-dlp

yt-dlp 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/yt-dlp'

# list all formats
$ yt -F nVjsGKrE6E8

# download it
$ yt -f 18 -o video.mp4 nVjsGKrE6E8

# play it
$ vlc video.mp4