How to download youtube videos or playlists in Kali Linux

Want to download videos or the whole playlist. There is a handy open source tool to help you out.

Its called youtube-dl. A commandline program written in python.

To install youtube-dl:

$sudo apt-get install python-dev python-dev python-pip gcc

$sudo apt-get install youtube-dl

Once you have installed youtube-dl.

Copy the youtube video or playlist link.

you just need to pass a Youtube video link to youtube-dl.It will go ahead and fetch the video and store it as mp4/flv format.

$ youtube-dl