Last active
June 11, 2018 16:20
-
-
Save vlados/0c07752f874788b88b8c570856e8c0ca to your computer and use it in GitHub Desktop.
yotube download playlist to mp3
This file contains hidden or 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
| playlists=( "list_id" ) | |
| for i in "${playlists[@]}" | |
| do | |
| youtube-dl --audio-format mp3 -i -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' --add-metadata -x --audio-quality 0 --prefer-ffmpeg 'https://www.youtube.com/playlist?list='${i} --format bestaudio --username USERNAME --password PASSWORD --download-archive downloaded.txt --no-post-overwrites -ciwx --geo-bypass --geo-bypass-country BG | |
| done | |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install youtube-dl by
npm install -g youtube-dland then just change list_id, USERNAME and PASSWORD