Subscribe to William Computer Blog : Entries & Del.icio.us. Add this blog to Technorati Favorites

Download YouTube videos from command line

You can now save your favorite videos from YouTube to your hard disk by using youtube-dl, a small command-line program to download videos from YouTube. It requires the Python interpreter 2.4 or later and it is platform independent (should work on linux, windows, mac, etc).

To install youtube-dl, you should put the python script under PATH, I recommend putting it inside /usr/local/bin. Once youtube-dl is inside your PATH, you should be able to access the script by typing youtube-dl.

To download video from youtube.com type:

youtube-dl http://youtube.com/watch?v=dMH0bHeiRNg

The above command will download and save the video on your hard drive in flv format. Good luck!

6 comments so far

1. nien 21 Aug 2006

download via keepvid.com so simple ;)

2. William Pramana 21 Aug 2006

Well, there are many ways you can download video to your hard disk. youtube-dl is one of them ;)

3. Rizky 21 Aug 2006

keren! lumayan cepet, bisa multiple instances pulak. bisa donlot sekaligus banyak nih. hehehe..

thx for finding this cool apps for us!

4. Links Fight 22 Aug 2006

Do you known some windows aplication with youtube download option?

5. Kai 22 Aug 2006

Hey Links Fight, I’ve read about some software tool that can do that. Not sure where though. Search download.com for youtube and download !?

6. William Pramana 22 Aug 2006

Firefox users can use VideoDownloader extension to download videos from different sites (youtube, google video, metacafe, ifilm, etc).