PHP Classes
elePHPant
Icontem

PHP Youtube and Vimeo Video Downloader Script: Download YouTube or Vimeo videos

Recommend this page to a friend!
  Info   View files Example   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (9)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-01-17 (10 months ago) RSS 2.0 feedStarStarStarStar 71%Total: 1,133 This week: 16All time: 3,245 This week: 38Up
Version License PHP version Categories
video-download 1.0.0GNU General Publi...5PHP 5, Files and Folders, Web services, V...
Description Author

This package can download YouTube or Vimeo videos.

It takes as parameter the URL of a video page on YouTube or Video sites.

The class determines the identifier of the video and the video download URL.

It returns the URL to download the video file as result.

Innovation Award
PHP Programming Innovation award nominee
January 2017
Number 2


Prize: PhpStorm IDE 1 year individual subscription
YouTube is the most popular video hosting site, but Vimeo is also used by many video publishers.

Many users would like to be able to download videos from these sites and watch them offline, but the sites do not provide a good solution for that.

This package provides means for downloading videos from either YouTube or Vimeo using PHP scripts.

Manuel Lemos
Name: Ssaurz Acharya <contact>
Classes: 2 packages by
Country: Australia Australia
Age: ???
All time rank: 203630 in Australia Australia
Week rank: 37 Up1 in Australia Australia Up
Innovation award
Innovation award
Nominee: 1x

Details

Youtube-Vimeo-Video-Downloader-Script

This is a script done by me for Youtube and Vimeo video downloader.

Below is the given example to extract the download link of Youtube and Vimeo. After you got the downlad link you can create your own downloader.

include_once 'YouTubeDownloader.php';
include_once 'VimeoDownloader.php';
include_once 'LinkHandler.php';
 
$url = "https://www.youtube.com/watch?v=oeCihv9A3ac";
$handler = new LinkHandler();
$downloader = $handler->getDownloader($url);
$downloader->setUrl($url);
if($downloader->hasVideo())
{
    print_r($downloader->getVideoDownloadLink());
}
  Files folder image Files  
File Role Description
Files folder imageDownloader (4 files)
Files folder imageexample (1 file)
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  Downloader  
File Role Description
  Plain text file Downloader.php Class Class source
  Plain text file LinkHandler.php Class Class source
  Plain text file VimeoDownloader.php Class Class source
  Plain text file YouTubeDownloader.php Class Class source

  Files folder image Files  /  example  
File Role Description
  Accessible without login Plain text file example.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:1,133
This week:16
All time:3,245
This week:38Up
 User Ratings  
 
 All time
Utility:93%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:81%StarStarStarStarStar
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:71%StarStarStarStar
Rank:288