PHP Classes
elePHPant
Icontem

File: README.md

Recommend this page to a friend!
  Classes of Ssaurz Acharya  >  PHP Youtube and Vimeo Video Downloader Script  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Youtube and Vimeo Video Downloader Script
Download YouTube or Vimeo videos
Author: By
Last change:
Date: 1 year ago
Size: 613 bytes
 

Contents

Class file image Download

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());
}