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 (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-01-07 (1 year ago) RSS 2.0 feedStarStarStarStar 71%Total: 2,020 This week: 5All time: 1,915 This week: 109Up
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

  Performance   Level  
Name: Nitesh Apte is available for providing paid consulting. Contact Nitesh Apte .
Classes: 16 packages by
Country: India India
Age: 34
All time rank: 1427 in India India
Week rank: 81 Up11 in India India Down
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 Lic. License text
Accessible without login Plain text file LICENSE.TXT Lic. License
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file README.TXT Doc. INFO

 Version Control Unique User Downloads Download Rankings  
 80%
Total:2,020
This week:5
All time:1,915
This week:109Up
 User Ratings  
 
 All time
Utility:90%StarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:80%StarStarStarStarStar
Examples:90%StarStarStarStarStar
Tests:-
Videos:-
Overall:71%StarStarStarStar
Rank:334