PHP Classes

YouTube Video Fetcher: Retrieve YouTube video files in MP4 format

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 62%Total: 1,818 All time: 2,161 This week: 524Up
Version License PHP version Categories
youtube-fetcher 1.0Free for non-comm...4.0PHP 5, Web services, Video


This class can retrieve YouTube video files in MP4 format.

It takes as parameters the identifier of a YouTube video and the desired download quality value.

The class determines the download URL of the video in MP4 format download the video into a local file.

Picture of Biagio Vincenzo Mamone Neto
Name: Biagio Vincenzo Mamone ... <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 31
All time rank: 1607107 in Brazil Brazil
Week rank: 185 Up11 in Brazil Brazil Up


This package only contain one needed file (the class itself). The class has only one public method (the one you have to call), which is downloadVideo. This method has one needed argument (the youtube video ID, e.g. dkIIDKb4Dw8) and one optional (the quality) Some of the "quality codes" are: 5 -> 240p 34 -> 360p 35 -> 480p 22 -> 720p A complete list of "quality codes" can be found at wikipedia: The default saving video folder is "video/" You can change it in the class file. Remember to set the needed permitions to this folder! Thanks for downloading my class, Biagio Mamone

  Files folder image Files  
File Role Description
Plain text file ytf.class.php Class main class
Accessible without login Plain text file example.php Example example script
Accessible without login Plain text file readme.txt Doc. readme file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,161
This week:524Up
User Ratings User Comments (1)
 All time