Skip to content

Instantly share code, notes, and snippets.

@davidefavia
Created June 19, 2016 15:47
Show Gist options
  • Save davidefavia/3ba76deba6ba8f6507031b60a4ff06e4 to your computer and use it in GitHub Desktop.
Save davidefavia/3ba76deba6ba8f6507031b60a4ff06e4 to your computer and use it in GitHub Desktop.
Convert YouTube playlist to mp3
#!/bin/bash
clear;
echo "Insert YouTube playlist ID: ";
read playlistId;
# You need youtube-dl to use this script: http://youtube-dl.org/
youtube-dl --extract-audio --audio-format mp3 --yes-playlist https://www.youtube.com/watch?list=$playlistId -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment