A class to easily parse and download YouTube videos. (parses the "fmt_url_map" parameter for download links.)
PHP
Switch branches/tags
Nothing to show
Latest commit 42d1d01 Mar 13, 2012 @jblinder Update README

README

YoutubeGrabber is a simple class for parsing and downloading videos from YouTube. 
(updated to work with Youtube's fmt_url_map parameter)

Basic Usage:
	require_once("youtubeGrabber.class.php"); 
	$you = new youtubeGrabber();

  // specify the destination video format 
	$you->format("mp4");     

  // specify the destination filepath (defaults to the same directory of downloader class)
	$you->filepath("");      

  // specify the destination filename
	$you->filename("cat");   

  // pass in the youtube url that you want to download 
	$you->download("http://www.youtube.com/watch?v=J---aiyznGQ");