Skip to content

yt-dlp

Common Commands

Download thumbnail and not video

yt-dlp $VIDEO_ID --write-thumbnail --skip-download

Download list of all videos for a channel

yt-dlp --flat-playlist --print "%(url)s # %(title)s" $CHANNEL_URL

Note

since anything after a # is ignored, you can leave the titles in when using --batch-file

Get Download Formats

yt-dlp -F $VIDEO_ID

Download Specific Formats

yt-dlp -f 298+140 $VIDEO_ID

In this example, 298 is a video format and it will be combined with 140 which is an audio format.