My favorites | Sign in
Project Logo
                
People details
Project owners:
  yenisetiawan

PHP Youtube Downloader

PHP Youtube Downloader is a simple PHP script to download video from Youtube.com

Requirements

PHP with CURL

Change Log

Usage

<?php
require_once('youtube.lib.php');
$download_link = get_youtube('http://www.youtube.com/watch?v=SAQZ0BDXn48'); 

// we will have array here, index 0 is the video ID and index 1 is the download link.
echo $download_link[1];
?>

Make sure to ALWAYS add WWW in the youtube links.

Ready Script

If you're looking for a script that is ready to use, download http://php-youtube-downloader.googlecode.com/files/youtube_downloader.zip and read the README file inside the package.

Disclaimer

You use it at your own risk. You can ask me question about this script but you shouldn't ask me for any damaged computer caused by this script.









Hosted by Google Code