youtube-dl is a command-line program to download videos from YouTube.com
Automatic install/update:
bash -c "$(curl -LSs https://github.com/dfmgr/youtube-dl/raw/main/install.sh)"
Manual install:
requires:
Debian based:
apt install ffmpeg
Fedora Based:
yum install ffmpeg
Arch Based:
pacman -S ffmpeg
MacOS:
brew install youtube-dl
PIP Package:
sudo -H pip3 install --upgrade youtube-dl
mv -fv "$HOME/.config/youtube-dl" "$HOME/.config/youtube-dl.bak"
git clone https://github.com/dfmgr/youtube-dl "$HOME/.config/youtube-dl"