<?php
include ("__class.youtubedownloader.php");
$YouTube= new YoutubeDownloader;
# $YouTube->dir = "./video"; /var/www/localhost/htdocs/YouTube/video
$YouTube->download("http://www.youtube.com/watch?v=x3RiwbQbPkw&feature=related");
print_r($YouTube->getinfo());
// http://php.net/manual/en/function.curl-getinfo.php
?>
|