This repository has been archived by the owner. It is now read-only.
This class allows you to get the download links from any youtube video
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
Youtube.php
test.php

README.md

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://...
        )
)