Hi there.
Want to be able to download single files, playlists or even entire channels? Want audio in MP3 format only? Good…
1) Install ffmpeg and youtube-dl (or youtube-dl-git from AUR).
pacman -S ffmpeg youtube-dl
2) Create YouTube folder in your home folder
mkdir ~/YouTube
3) For videos add this alias to ~/.bashrc:
alias YouTube='cd ~/YouTube/ && mkdir -p `date +"%Y.%m.%d"` && cd `date +"%Y.%m.%d"` && youtube-dl --ignore-errors --yes-playlist --sub-lang en'
4) For audio (best quality MP3s) add this alias to ~/.bashrc:
alias YouMP3='cd ~/YouTube/ && mkdir -p `date +"%Y.%m.%d"` && cd `date +"%Y.%m.%d"` && youtube-dl --ignore-errors --yes-playlist --extract-audio --audio-format mp3 --audio-quality 0'
Now all you need to do is open terminal and type in:
YouTube URL
or
YouMP3 URL
Where URL is an actual https://youtube.com/whatever link to a single video, playlist or to a “Videos” section of a channel, press enter, wait for the process to finish and then visit ~/YouTube folder. You will find the content in folder with today’s date ;).
You likey? Me happeey…
Andrzej