Skip to content
/ phptube Public

A PHP Class to get download links from Youtube based on the watch url

Notifications You must be signed in to change notification settings

masnun/phptube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPTube

The PHP Library to fetch Youtube video URIs from Watch URLs

What is PHPTube?

PHPTube is a PHP Library that allows you to fetch the actual Video URIs (of multiple available formats) directly from the Youtube Watch URL.

How to use it?

<?php
require_once 'PhpTube.php';
$tube = new PhpTube();
$videos = $tube->getDownloadLink('http://www.youtube.com/watch?v=Q-0p7ogC51k');

var_dump($videos);
?>

About

A PHP Class to get download links from Youtube based on the watch url

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages