Skip to content

This class allows you to get the download links from any youtube video

License

Notifications You must be signed in to change notification settings

ahdidou-mohamed/Youtube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Youtube Video Downloader

This class allows you to get the download links from any youtube video

Usage

require 'Youtube.php';

$youtube = new Zarkiel\Media\Youtube();
$download_links = $youtube->getDownloadLinks('q_gfD3nvh-8'); // Send the url id
print_r($download_links);

The output will be some like:

Array
(
    [MP4] => Array
        (
            [High Quality - 1280x720] => http://...
            [Medium Quality - 480x360] => http://...
        )

    [FLV] => Array
        (
            [Low Quality - 400x226] => http://...
        )

    [3GP] => Array
        (
            [High Quality - 320x240] => http://...
            [Medium Quality - 176x144] => http://...
        )

    [WEBM] => Array
        (
            [Low Quality - 640x360] => http://...
        )
)

About

This class allows you to get the download links from any youtube video

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages