youtube-dl already contains this functionality – just specify that you want mp3:
youtube-dl -x --audio-format mp3 https://www.youtube.com/watch?v=BaW_jenozKc
Replace https://www.youtube.com/watch?v=BaW_jenozKc
with your actual URL.
youtube-dl already contains this functionality – just specify that you want mp3:
youtube-dl -x --audio-format mp3 https://www.youtube.com/watch?v=BaW_jenozKc
Replace https://www.youtube.com/watch?v=BaW_jenozKc
with your actual URL.