February 20, 2008
Somebody wanted this.
function ripper($url) {
$page = appr_curl_function($url);
if ($page === false)
{
die("Something wack happened");
}
preg_match('/watch_fullscreen\?video_id=(.*?)&l=(.*?)+&t=(.*?)&/', $page, $match);
$match1 = "http://www.youtube.com/get_video?video_id=";
if(!$match[1]){
die("Some Informative Error Messgae Here");
}
$match1 .= $match[1];
$match1 .= "&t=";
$match1 .= $match[3];
return $match1;
}
Should work. Write yourself necessary things in the appr_curl_function()
Leave a Comment » |
Drupal, PHP, Programming, cURL |
Permalink
Posted by p6
February 20, 2008
Yamini 2008 @ IIMB:
Reached IIMB towards the end of the first piece (the first concert, rather) by Sowmya. “Kurrai Onrum Illai” was the last piece that was nearly done with as I got there.
What followed was Shashank’s brilliant concert. Amongst the most stunning flute virtuosoes ever, so far as I’m concerned. Truly, a remarkable rendition. Read the rest of this entry »
Leave a Comment » |
Music |
Permalink
Posted by p6