Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

lucajackal85/VideoDownloaderYoutubeExtension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VideoDownloaderYoutubeExtension

Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Code Quality

Youtube extension for jackal/video-downloader

Installation

composer require jackal/video-downloader-ext-youtube

Usage

use Jackal\Downloader\Ext\Youtube\Downloader\YoutubeDownloader;

require_once __DIR__ . '/vendor/autoload.php';

$youtubeVideoId = 'otCpCn0l4Wo';

$vd = new \Jackal\Downloader\VideoDownloader();
$vd->registerDownloader(YoutubeDownloader::VIDEO_TYPE, YoutubeDownloader::class);

$downloader = $vd->getDownloader(YoutubeDownloader::VIDEO_TYPE, $youtubeVideoId, [
    'format' => [360,480]
]);

$downloader->download(__DIR__ . '/output.avi');

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages