PHP script for downloading videos from youtube; also parsing youtube feed into RSS enclosures for podcatchers
PHP JavaScript ApacheConf


Project: YouTube Downloader
Author: John Eckman
License: GPL v2 or Later

PHP Scripts to download videos from YouTube.  

NOTE: YouTube Downloader does not work with videos using a cipher signature. 


You can manually visit a web form (the index.php file), enter a YouTube
video id, and get in return a list of links showing the various formats in which
that video can be downloaded. You can simply choose "save link as" or the 
equivalent to download the file. 

Second, you can directly target the getvideo.php script, passing in a videoID and
preferred format, and you will get redirected to the file itself.

Potential formats:
 * best = just give me the largest file / best quality
 * free = give the largest version including WebM, lower priority to FLV
 * ipad = ignore WebM and FLV, look for best MP4 file

You can also pass in a specific format number, if you know it. 

Note this approach, because it redirects you to the file itself, currently bypasses the
proxy option, so if your browser/server setup requires the proxy to work these will fail.