Tuesday 18 October 2016

How To Download Youtube Video In Linux Terminal

How To Download Youtube Video In Linux Terminal

 

Today i am going to show how to download Youtube video in Kali Linux Terminal with youtube-dl

youtube-dl is a Python based small command-line tool that allows to download videos from YouTube.com
Recently, youtube-dl added video download support for 17 new websites: brightcove.com, auengine.com, RingTV, instagram.com, Jukebox, 3sat, CSpan, Statigr.am, traileraddict.com, hotnewhiphop.com, wat.tv, tu.tv, gamespot.com, tudou.com, Wimp.com, archive.org and break.com

  • youtube-dl also allows to choose specific avialable video quality format to download or let the program itself automatically download higher quality video from the site
  • also has supports for user specific playlist downloads, options to add custom or original title to the downloaded video file. proxy support and many more.

Install YouTube-DL in Kali linux

Update: you can use curl or wget command to install latest version of youtube-dl script as shown.


$ sudo curl https://yt-dl.org/latest/youtube-dl -o /usr/local/bin/youtube-dl
OR
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
 
 
 

After downloading the script, set the executable permission.

$ sudo chmod a+rx /usr/local/bin/youtube-dl
 
 

Update YouTube-DL

# youtube-dl -U
 

How to Use YouTube-DL to Download Videos

To download a video file, simply run the following commend. Where "VIDEO_URL" is the url of the video that you want to download.

# youtube-dl https://www.youtube.com/watch?v=bu_sMqZyOTg
 
 Also be downloaded from the Youtube-dl page



Blog by S.Adhikari
 


 
 

 

No comments: