Downloading videos from Youtube and converting them to mp3 locally on your machine is basically a one line operation with the very nice tool youtube-dl
which, if you are on a Mac, installs with homebrew brew install youtube-dl
.
youtube-dl -x --audio-format mp3 'https://www.youtube.com/watch?t=4\&v=jLjfhGGuHZo'