Skip to content

Instantly share code, notes, and snippets.

@geokal
Forked from dantheman213/youtube-dl_cheatsheet.md
Created November 23, 2018 19:35
Show Gist options
  • Save geokal/bd744a44f4ff5cbe0f0a29e8c11977b1 to your computer and use it in GitHub Desktop.
Save geokal/bd744a44f4ff5cbe0f0a29e8c11977b1 to your computer and use it in GitHub Desktop.
youtube-dl cheatsheet -- Download entire youtube playlist and more!
# https://github.com/rg3/youtube-dl/
# On ubuntu: apt-get install libav-tools
# Download Playlist to batch of MP3s
youtube-dl -f bestvideo+bestaudio --extract-audio --audio-format mp3 --prefer-avconv --playlist-random https://www.youtube.com/playlist?list=XXXXX
# Download individual song
youtube-dl -f bestvideo+bestaudio --extract-audio --audio-format mp3 --prefer-avconv https://www.youtube.com/watch?v=ZZZZZZZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment