Location: PHPKode > scripts > Megavideo Downloader > megavideo-downloader/cli.php
<?
if(!$argv[1]) die("Usage: $argv[0] URL OR ID\n");

include('megavideo.class.php');

	$obj = new Megavideo($argv[1]);
	print "-- Megavideo Downloader by luruke --\n";
	print "URL download:..........{$obj->get(url)}\n";
	print "Title:.................{$obj->get(title)}\n";
	print "Duration:..............{$obj->get(duration)}m\n";
	print "Size:..................{$obj->get(size)}Mb\n";
	
	//system("firefox ".$obj->get(url));
?>
Return current item: Megavideo Downloader