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:
- Ripping audio from YouTube videos
- Converting your videos to Ogg theora+vorbis for your HTML5 website
- Torchlight under Wine on Ubuntu 9.10
- Improving randomness and entropy in ubuntu 9.10
- Running fsfuzzer 0.7 on Ubuntu or Debian
Tags: command line tools, debian, howto, linux, ubuntu, xubuntu, youtube




