Compare commits

...
Sign in to create a new pull request.

4 commits

3 changed files with 12 additions and 11 deletions

View file

@ -4,12 +4,12 @@ This library lets you extract a video URL from a webpage
by providing a wrapper by providing a wrapper
for [youtube-dl](https://ytdl-org.github.io/youtube-dl/index.html). for [youtube-dl](https://ytdl-org.github.io/youtube-dl/index.html).
It is primarily used by [AllTube Download](https://github.com/Rudloff/alltube). It is primarily used by [AllTube Download](https://code.ehwurscht.at/genuineparts/alltube).
You can install it with: You can install it with:
```bash ```bash
composer require kumi/alltube-library composer require genuineparts/alltube-library
``` ```
You can then use it in your PHP code: You can then use it in your PHP code:
@ -24,5 +24,3 @@ $video = $downloader->getVideo('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
$video->getUrl(); $video->getUrl();
``` ```
You can also have a look at
this [example project](https://github.com/Rudloff/alltube-example-project).

View file

@ -1,5 +1,5 @@
{ {
"name": "kumi/alltube-library", "name": "genuineparts/alltube-library",
"description": "PHP wrapper for youtube-dl", "description": "PHP wrapper for youtube-dl",
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"homepage": "http://alltubedownload.net/", "homepage": "http://alltubedownload.net/",

15
composer.lock generated
View file

@ -370,16 +370,16 @@
}, },
{ {
"name": "psr/log", "name": "psr/log",
"version": "1.1.3", "version": "1.1.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/php-fig/log.git", "url": "https://github.com/php-fig/log.git",
"reference": "0f73288fd15629204f9d42b7055f72dacbe811fc" "reference": "d49695b909c3b7628b6289db5479a1c204601f11"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc", "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
"reference": "0f73288fd15629204f9d42b7055f72dacbe811fc", "reference": "d49695b909c3b7628b6289db5479a1c204601f11",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -403,7 +403,7 @@
"authors": [ "authors": [
{ {
"name": "PHP-FIG", "name": "PHP-FIG",
"homepage": "http://www.php-fig.org/" "homepage": "https://www.php-fig.org/"
} }
], ],
"description": "Common interface for logging libraries", "description": "Common interface for logging libraries",
@ -413,7 +413,10 @@
"psr", "psr",
"psr-3" "psr-3"
], ],
"time": "2020-03-23T09:12:05+00:00" "support": {
"source": "https://github.com/php-fig/log/tree/1.1.4"
},
"time": "2021-05-03T11:20:27+00:00"
}, },
{ {
"name": "ralouphie/getallheaders", "name": "ralouphie/getallheaders",