Mac /

YouTubeHacks

install yt-dlp via homebrew, then allow it to run via control panel. Put all urls in quotes.

Download just audio

# opus/ogg format
yt-dlp -x "https://www.youtube.com/watch?v=gYxCvi24Vnc"

# mp3 format
yt-dlp -x --audio-format mp3 https://www.youtube.com/watch?v=Q54rlwk8SW8

# m4a best quality
yt-dlp -x --audio-format m4a --audio-quality 0 https://www.youtube.com/watch?v=gYxCvi24Vnc