You're viewing a comment by Shawn and its responses.

Shawn Permalink
July 27, 2007, 07:54

heh, same problem as Saldane. here it is with unnecessary \ns after semicolons:

perl -MWWW::Mechanize -e'$y="http://youtube.com";
($i)=pop=~/\w+$/g;
$m=new WWW::Mechanize;
$m->get("$y/v/$i")->request->uri=~/&t=.+/;
$m->get("$y/get_video?video_id=$i$&",":content_file"=>"$i.flv")'

Reply To This Comment

(why do I need your e-mail?)

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

Type first 3 letters of your name: (just to make sure you're a human)

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