PHP Classes
elePHPant
Icontem

PHP YouTube Video Downloader: Download files of given YouTube videos

Recommend this page to a friend!
  Info   View files Example   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-04-20 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 814 This week: 17All time: 4,060 This week: 55Up
Version License PHP version Categories
youtube-downloader 1.11GNU 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 video convert to mp4 class?
Need a online video convertor like youtube , and play all videos

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

  Performance   Level  
Name: Nitesh Apte is available for providing paid consulting. Contact Nitesh Apte .
Classes: 16 packages by
Country: India India
Age: 32
All time rank: 17010 in India India
Week rank: 33 Up6 in India India Up
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 folder image Files  
File Role Description
Plain text file class.ErrorHandler.php Class Handles and logs the error
Plain text file class.YouTubeBean.php Class Set configuration for download
Plain text file class.YouTubeException.php Class YouTube exception class.
Plain text file class.YouTubeVideoDownloader.php Class Download videos from YouTube using WGET or cURL
Accessible without login Plain text file errorhandler.php Conf. Instantiate Error Handler class
Accessible without login Plain text file example.php Example How to use the YouTubeVideoDownloader class
Accessible without login Plain text file LICENSE.TXT Lic. License
Accessible without login Plain text file README.TXT Doc. INFO

 Version Control Unique User Downloads Download Rankings  
 0%
Total:814
This week:17
All time:4,060
This week:55Up