Is there a way to take the sound from a youtube video?

Students have done this in the past but I was trying to help a student now and couldn’t figure it out.

Copying the link and pasting into playSound didn;t work

Here is an article that may help. How to Convert YouTube Videos to MP3 Files