Downloading Youtube videos the easy way

Youtube-dl is a very useful tool, full of great features. I use it where I have good wifi to download web shows like Hak5 and Threatwire because I have very limited bandwidth at home.

Install on Linux and OSX

sudo curl -o /usr/local/bin/youtube-dl

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

Then grab a Youtube url and type the following

youtube-dl --list-formats "YOUTUBE URL"

This will list all of the available download formats, even audio only. In my experience, 22 is the best HD video format for what I download. To download the video to your current directory type.

youtube-dl -f 22 "YOUTUBE URL"

Youtube-dl also works with many other video sources like Vimeo, Viddler and many others. To see a complete list, type:

youtube-dl --list-extractors

This is a great tool with a ton of features, you can find the official site here Youtube-dl

Have a question? email me [email protected]