1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-09-16 09:16:45 +02:00
Files
dockerfiles/yt-dlp
2025-08-25 15:57:56 +08:00
..
2025-08-25 15:57:56 +08:00
2025-08-25 15:57:56 +08:00

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