that sounds good. I need to set up some scripts to do this & also sync into my phone.
Basically you'd use the "Get Current Webpage from Safari" block, then in the Terminal
PATH="/usr/local/bin:${PATH}"
cd Music/YTDownloads
# or wherever you want it
youtube-dl -q -f 140 "${@%%&*}"
# format 140 is 128k .m4a
Then add to existing playlist in music. Ah, if only it were legal!