<?php
include ("__class.youtubedownloader.php");
$YouTube= new YoutubeDownloader;
$url = array("http://www.youtube.com/watch?v=p8d1kIn4nl0",
"http://www.youtube.com/watch?v=t-fWp8XrX4w&feature=bz303",
"http://www.youtube.com/watch?v=wuSeVAWpniM&feature=related",
"http://www.youtube.com/watch?v=x3RiwbQbPkw&feature=related"
);
$YouTube->download($url);
$inf = $YouTube->getinfo();
//http://www.youtube.com/watch?v=p8d1kIn4nl0
echo "[1] video <br> URL: ". $inf[0][url]."<br> download speed :". $inf[0][speed_download]."<br> size :". $inf[0][size_download]."<br><br><br>";
//http://www.youtube.com/watch?v=t-fWp8XrX4w&feature=bz303
echo "[2] video <br> URL: ". $inf[1][url]."<br> download speed :". $inf[1][speed_download]."<br> size :". $inf[1][size_download]."";
//HF =)
?>
|