youtube-dl

Official website :

https://yt-dl.org/

How to install youtube-dl (Requires python) using pip

sudo apt-get remove youtube-dl
sudo apt-get install python-pip  
pip install --user youtube-dl  

Update youtube-dl

sudo pip install -U youtube-dl

How to download youtube videos using youtube-dl

cd <directory to be downloaded>
youtube-dl <youtube-url>

Download Youtube Playlist Videos

youtube-dl -i PLC3y8-rFHvwilEuCqFGTL5Gt5U6deIrsU
#or
youtube-dl --download-archive archive.txt -i -f mp4 --yes-playlist 'https://www.youtube.com/watch?v=bV8emCBmFHk&amp;list=PLC3y8-rFHvwilEuCqFGTL5Gt5U6deIrsU'

Download Youtube Playlist Audio

youtube-dl -x <youtube-url>
#or
youtube-dl -i -x --audio-format mp3  <youtube-url>

Command :

youtube-dl -h //Help
youtube-dl -F <video-link> //Other Formats list
youtube-dl -f 299+32 <video-link> //Other Formats download from the previous list

Documentation of youtube-dl

https://github.com/ytdl-org/youtube-dl/blob/master/README.md#readme

Leave a Comment