sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
sudo nano /etc/youtube-dl.conf
# Lines starting with # are comments
# Always extract audio
#-x
# Do not copy the mtime
--no-mtime
# Use this proxy
#--proxy 127.0.0.1:3128
# Save all videos under YouTube directory in your external hdd mount directory
-o ~/mnt/library/youtube/%(title)s.%(ext)s
ctrl-x
y
youtube-dl https://www.youtube.com/watch?v=kc_9RT4q8YA