youtube-dl audio format mp3 code example
Example 1: youtube-dl mp3 only
youtube-dl -x --audio-format mp3
Example 2: linux download youtube mp3
youtube-dl --extract-audio --audio-format mp3
Example 3: how to use youtube dl for mp3
youtube-dl -x --audio-format mp3 https://www.youtube.com/watch?v=jwD4AEVBL6Q
Example 4: download youtube video as wav youtubedl
youtube-dl -f bestaudio --audio-quality 0 --audio-format mp3 https://www.youtube.com/playlist?list=PLYRruMbyFRcBVdVN8v4FNkIKkXvL-bZn_