Created
June 8, 2017 05:23
-
-
Save brunoro/c4fcb8ba8cdb896b8c272d2bb16b1b84 to your computer and use it in GitHub Desktop.
Download youtube song playlists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PLAYLIST_URL=$1 | |
youtube-dl \ | |
--yes-playlist --ignore-errors \ | |
--extract-audio --audio-quality 0 --format 'mp3/ogg/m4a/flac/wav' \ | |
--metadata-from-title '%(artist)s - %(title)s' --continue -o '%(playlist)s/%(title)s.%(ext)s' \ | |
$PLAYLIST_URL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment