No description
Find a file
dependabot[bot] b59d8dbe58
Bump guzzlehttp/psr7 from 1.6.1 to 1.8.5 (#4)
Bumps [guzzlehttp/psr7](https://github.com/guzzle/psr7) from 1.6.1 to 1.8.5.
- [Release notes](https://github.com/guzzle/psr7/releases)
- [Changelog](https://github.com/guzzle/psr7/blob/1.8.5/CHANGELOG.md)
- [Commits](https://github.com/guzzle/psr7/compare/1.6.1...1.8.5)

---
updated-dependencies:
- dependency-name: guzzlehttp/psr7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-30 09:09:54 +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 Add a way to log commands 2020-07-15 22:34:36 +02:00
composer.lock Bump guzzlehttp/psr7 from 1.6.1 to 1.8.5 (#4) 2022-03-30 09:09:54 +02: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 README 2020-06-21 13:21:06 +02: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 rudloff/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();

You can also have a look at this example project.