Skip to content

Instantly share code, notes, and snippets.

@ChathuraHettiarachchi
Forked from davidefavia/yt-list-to-mp3
Created December 17, 2018 08:22
Show Gist options
  • Save ChathuraHettiarachchi/6399c53deac2a06f54b9865c96e96937 to your computer and use it in GitHub Desktop.
Save ChathuraHettiarachchi/6399c53deac2a06f54b9865c96e96937 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