youtube-dl mp3 only
snippet in c

youtube-dl mp3 only

user3645

youtube-dl -x --audio-format mp3 <youtube-link>

linux download youtube mp3

user604

youtube-dl --extract-audio --audio-format mp3 <video URL>