Skip to content

Instantly share code, notes, and snippets.

View vaimalaviya1233's full-sized avatar

Vaibhav Malaviya vaimalaviya1233

View GitHub Profile
View youtube-dl-cheat-sheet
*** Best video in mp4 format [if available] in 1080p ***
$ youtube-dl -f 'bestvideo[height<=1080 && ext=mp4]+bestaudio'
*** For ease of use make alias for this command ***
$ alias yt="youtube-dl -f 'bestvideo[ext=mp4][height<=1200]+bestaudio[ext=m4a]' -o '%(title)s'"
Youtube-dl Tutorial With Examples
Here, I have compiled most commonly used Youtube-dl commands to download a video or playlist from YouTube.