This alias lets you enter
yt https://www.youtube.com/watch?v=dQw4w9WgXcQ
in FARR to download that youtube content to an mp3 audio file.
This requires the tools youtube-dl (to download the youtube content) and ffmpeg (to convert to mp3).
youtube-dl ,
http://rg3.github.io...ube-dl/download.htmlffmpeg ,
http://ffmpeg.zeranoe.com/builds/ (get the Static build)
alias name
youtube-dl to mp3
regular expression pattern
^(?:y|yt|you) (.*(?:youtu.be|youtube.com).*)$
Results
youtube-dl mp3 $$1 | C:\folder\youtube-dl.exe --restrict-filenames -o "C:\output\`%(title)s.`%(ext)s" --write-thumbnail --ffmpeg-location "C:\folder\ffmpeg.exe" -f "bestaudio[ext=m4a]" -x --audio-format mp3 --audio-quality 0 --embed-thumbnail $$1
Note: change the two instances of "C:\folder\" to where you have put youtube-dl.exe and ffmpeg.exe (and ffprobe.exe and ffplay.exe from the same package) and change "C:\output\" to what folder you want the mp3 file to end up in.
I also made a short video tutorial on how to do these setup steps, view it here
https://www.youtube..../watch?v=dQw4w9WgXcQ