Skip to content

Instantly share code, notes, and snippets.

@jamesdeantv
Forked from dantheman213/youtube-dl_cheatsheet.md
Created October 9, 2018 12:49
Show Gist options
  • Save jamesdeantv/ba52bff393304f2b74ca2c09a2c6a0b3 to your computer and use it in GitHub Desktop.
Save jamesdeantv/ba52bff393304f2b74ca2c09a2c6a0b3 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