Okay, this is a very short blogpost that will show you how to download videos from YouTube, using a command line tool found on debian and ubuntu. The program I’m talking about is youtube-dl and to install it, you should open a terminal window and type in the following:
sudo apt-get install youtube-dl

When youtube-dl is installed, you need to find the video on YouTube that you would like to download. Copy the URL of that video and type the following in a terminal youtube-dl URL, where URL is the URL of the video.

An example

I would very much like to download this video of a Mercedes Unimog, climbing over a wall.

The url for that video is http://www.youtube.com/watch?v=_VmwbdDqQJ4. So, to download the video to my harddrive, I start up a terminal and type: youtube-dl http://www.youtube.com/watch?v=_VmwbdDqQJ4. Now the video will be saved into the current folder.
youtube-dl have got some flags you can set, like this: youtube-dl http://www.youtube.com/watch?v=_VmwbdDqQJ4 -b -o unimog.mp4 which will get me the best quality of video (-b) and save it to the file unimog.mp4.

Related posts:

Tags: , , , , , ,

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.