The easiest way to get music from YouTube is to use a YouTube music downloader. The best one I’ve found is a free utility from MediaHuman. I talked about it in my previous post “Downloading music from YouTube”. It comes in both Windows and Mac versions. It will download to any or all of these formats: MP3, AAC, OGG. To get the best sound quality use the fmt option in the URL. A discussion of the different fmt options can be found here: YouTube quality and codecs.