Downloading youtube audio and converting mp3 is very simple now thanks to these guys: https://rg3.github.io/youtube-dl/
Installing:
# on Ubuntu sudo apt-get install youtube-dl avconv curl https://raw.githubusercontent.com/SecurityShift/tools/master/scripts/random/GetYoutubePlaylist.sh -o GetYoutubePlaylist.sh chmod 755 GetYoutubeAudio.sh https://raw.githubusercontent.com/SecurityShift/tools/master/backup_scripts/google_drive_backup.py # on OSX brew install youtube-dl libav curl https://raw.githubusercontent.com/SecurityShift/tools/master/scripts/random/GetYoutubePlaylist.sh -o GetYoutubePlaylist.sh chmod 755 GetYoutubeAudio.s
Contents:
Usage: sh GetPlaylist.sh [youtube playlist URL] [output_directory]
Example:
sh ./GetYoutubePlaylist.sh http://www.youtube.com/playlist?list=PL702CAF4AD2AED35B ~/Music
To get the youtube playlist URL view the playlist by clicking on its name, no videos will be playing, then click on share and the url will be highlighted: