I decided to create some 5 - 10 youtube video downloaders in various programming languages just for fun. I have probably programmed in 15 languages total and I need to refresh knowledge in some of them.

I will probably create one great desktop application in C++, and the others will be in various scripting languages.

I hope YouTube does not change the way videos are fetched too soon otherwise I will have to update all these scripts - not a cool thing to do.

At the moment I have already written YouTube video downloaders in the following languages:

Each link contains description how to use the downloader and also how the downloader was written.

Also I have written a YouTube video uploader:

I have discontinued writing these programs. It was fun when I was a kid, but now I have grown out of it.


Clay Permalink
August 01, 2007, 06:14

your link is broken: http://www.catonmat.net/blog/downloading-youtube-videos-with-a-perl-one-liner

August 01, 2007, 10:59

Clay, thank you so much for finding this broken link! Fixing right now!

February 03, 2008, 04:40

Thanks for visiting my blog! :)
You have an interesting one yourself. :)
Will subscribe ;)

praveen Permalink
February 03, 2008, 19:38

Could you please provide me if you have any video lecture on COBOL.

Turin Permalink
April 30, 2008, 05:27

Peter, how do you make the youtube DL web based? I'm using your VBScript...working well. Thanks much!

Mark Permalink
September 30, 2008, 07:05

Can you put up an expanded version of your Perl YouTube downloader that is not a one-liner?

One-liners in Perl (and Golf, too) are one of the things that have damaged Perl's reputation among programmers who don't know much about Perl.

If you perpetuate one-liner solutions by promoting them without offering the full more understandable alternative, you are helping to harm Perl by scaring people away from it based on a false flaw they think it has. True that Golf is fun, but don't let people get the idea that Golf is what Perl is about.

November 22, 2008, 20:19


January 23, 2009, 19:40

Hello Peteris,
I've noticed that your script "get_youtube_vids.awk" that I used about a month ago, doesn't work anymore today.
I suspect that they've changed something at www.youtube.com?

Jigas Permalink
July 18, 2009, 11:29

exelent coding. I guess it's the same way downloading mp4 (hq) vids from ytube , right?

Developer Permalink
April 10, 2010, 19:16

I downloaded the VBScript file. Ran it on Windows7. But, after I gave the Youtube video URL, I get an err msg saying -
Windows Script Host
Could not extract fmt_url_map from the video page.

Any idea, how to fix this ?

Peter Williams Permalink
April 26, 2010, 16:22

my favorite tool for downloading web video is Live Downloader:

S.E.Filecraft Permalink
November 24, 2010, 06:45

I also want to find an expanded version of your Perl YouTube downloader that is not a one-liner, can anyone help me out please?

December 26, 2013, 11:00

Guys just sharing, I've found this interesting! Check it out! http://www.freeyoutubedown.com

Erik Gantz Permalink
July 01, 2014, 21:06

How can I find a translation of this site to Spanish? Do you know if there is an equal page?
blog. Its an extremely important post

Leave a new comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "halflife3": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.