PHP YouTube Video Downloader: Download files of given YouTube videos

Recommend this page to a friend!
  Info   Example   View files (10)   Download .zip   Reputation   Support forum (6)   Blog    
Ratings Unique User Downloads Download Rankings
72%Total: 2,545 This week: 3All time: 1,494 This week: 69
Version License PHP version Categories
youtube-downloader 1.12GNU General Publi...5.4PHP 5, Files and Folders, Web services, V...
Description Author

This class can download files of given YouTube videos.

It takes a given YouTube video identifier and sends a request to YouTube to get the video details. The class works as a parser of YouTube video metadata.

The class can get the YouTube video source URL and generates a link to download the video data in a given format, usually MP4, or can download it directly to a file using the Curl extension or the wget program.

Recommendations

What is the best PHP youtube video downloader class?
Download videos from YouTube

What is the best PHP video convert to mp4 class?
Need a online video convertor like youtube , and play all videos

Picture of Nitesh Apte
  Performance   Level  
Name: Nitesh Apte is available for providing paid consulting. Contact Nitesh Apte .
Classes: 16 packages by
Country: India India
Age: 36
All time rank: 1377 in India India
Week rank: 48 9 in India India
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

Details
Hi,

In order to make this class support more number of video formats, add the values in $supportedVideoFormat array.

Command line:
php example.php GvQJbF2CXLQ cYqw0YytUxw


Browser:
http://localhost/youtube-downloader/example.php?video=GvQJbF2CXLQ,cYqw0YytUxw

Thanks
  Files  
File Role Description
class.ErrorHandler.php Class Handles and logs the error
class.YouTubeBean.php Class Set configuration for download
class.YouTubeException.php Class YouTube exception class.
class.YouTubeVideoDownloader.php Class Download videos from YouTube using WGET or cURL
errorhandler.php Conf. Instantiate Error Handler class
example.php Example How to use the YouTubeVideoDownloader class
LICENSE Lic. License text
LICENSE.TXT Lic. License
README.md Doc. Documentation
README.TXT Doc. INFO

 Version Control Unique User Downloads Download Rankings  
 80%
Total:2,545
This week:3
All time:1,494
This week:69
 User Ratings  
 
 All time
Utility:91%
Consistency:91%
Documentation:83%
Examples:91%
Tests:-
Videos:-
Overall:72%
Rank:275
  

For more information send a message to info at phpclasses dot org.