No description
Find a file
2025-05-01 13:24:28 +02:00
classes We don't need to bypass IDN conversion anymore 2021-05-13 12:36:15 +02:00
.gitignore Initial import from Alltube app 2020-06-20 19:19:37 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2020-06-21 14:25:10 +02:00
composer.json fix name 2025-05-01 13:24:28 +02:00
composer.lock fix(deps): update dependency psr/log to v1.1.4 2025-04-18 18:07:44 +00:00
grumphp.yml Remove obsolete grumphp config 2020-06-23 23:52:52 +02:00
LICENSE Create LICENSE 2020-06-20 19:22:08 +02:00
README.md Update README.md 2025-05-01 11:57:40 +02:00
renovate.json Add renovate.json 2025-03-06 07:06:02 +00:00

AllTube library

This library lets you extract a video URL from a webpage by providing a wrapper for youtube-dl.

It is primarily used by AllTube Download.

You can install it with:

composer require genuineparts/alltube-library

You can then use it in your PHP code:

use Alltube\Library\Downloader;

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

$downloader = new Downloader('/usr/local/bin/youtube-dl');
$video = $downloader->getVideo('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
$video->getUrl();