mp3 youtube-dl code example
Example 1: youtube-dl mp3 only
youtube-dl -x --audio-format mp3 <youtube-link>
Example 2: linux download youtube mp3
youtube-dl --extract-audio --audio-format mp3 <video URL>
Example 3: how to use youtube dl for mp3
youtube-dl -x --audio-format mp3 https://www.youtube.com/watch?v=jwD4AEVBL6Q