Youtube-dl
Use wget in case you don't have curl:
$ sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
$ sudo chmod a+rx /usr/local/bin/youtube-dl
Installation of Youtube-dl using Pip:
$ sudo -H pip install --upgrade youtube-dl
Download videos in specific quality:
Youtube-dl download the best quality video by default. But you can also download a video or playlist at a certain quality.
Following qualities are available to download video via YouTube:
- best - It select the best quality video and audio.
- worst - It select the worst quality video and audio.
- bestvideo - It select the best quality video which may not be available.
- worstvideo - It select the worst quality video which also may not be available.
- bestaudio - It select the best quality audio which may not be available.
- worstaudio - It select the worst quality audio which may not be available.
Some open source projects of youtube-dl on github are:
- Yt Dlp
- Youtube Dl Gui
- Ytmdl
- Hitomi Downloader
- Alltube
- Firedm
- Youtube Dl Interactive
- Youtube Dlc
- Khan Dl
- Auto Editor