youtube-dl bestaudio mp3 code example
Example 1: download youtube video as wav youtubedl
youtube-dl -f bestaudio --extract-audio --audio-format mp3 --audio-quality 0 <Video-URL>
Example 2: download youtube video as wav youtubedl
youtube-dl -f bestaudio --audio-quality 0 --audio-format mp3 https://www.youtube.com/playlist?list=PLYRruMbyFRcBVdVN8v4FNkIKkXvL-bZn_