Compare commits
1 commit
main
...
renovate/m
Author | SHA1 | Date | |
---|---|---|---|
|
ed52c225eb |
3 changed files with 13 additions and 14 deletions
|
@ -4,12 +4,12 @@ This library lets you extract a video URL from a webpage
|
|||
by providing a wrapper
|
||||
for [youtube-dl](https://ytdl-org.github.io/youtube-dl/index.html).
|
||||
|
||||
It is primarily used by [AllTube Download](https://code.ehwurscht.at/genuineparts/alltube).
|
||||
It is primarily used by [AllTube Download](https://github.com/Rudloff/alltube).
|
||||
|
||||
You can install it with:
|
||||
|
||||
```bash
|
||||
composer require genuineparts/alltube-library
|
||||
composer require kumi/alltube-library
|
||||
```
|
||||
|
||||
You can then use it in your PHP code:
|
||||
|
@ -24,3 +24,5 @@ $video = $downloader->getVideo('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
|
|||
$video->getUrl();
|
||||
```
|
||||
|
||||
You can also have a look at
|
||||
this [example project](https://github.com/Rudloff/alltube-example-project).
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "genuineparts/alltube-library",
|
||||
"name": "kumi/alltube-library",
|
||||
"description": "PHP wrapper for youtube-dl",
|
||||
"license": "GPL-3.0-only",
|
||||
"homepage": "http://alltubedownload.net/",
|
||||
|
@ -7,14 +7,14 @@
|
|||
"ext-json": "*",
|
||||
"guzzlehttp/guzzle": "^6.5",
|
||||
"psr/log": "^1.1",
|
||||
"symfony/process": "^4.0|^5.0"
|
||||
"symfony/process": "7.2.5"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpro/grumphp": "^0.18.0",
|
||||
"phpstan/phpstan": "^0.12.29",
|
||||
"roave/security-advisories": "dev-master",
|
||||
"squizlabs/php_codesniffer": "^3.5",
|
||||
"symfony/var-dumper": "^5.1"
|
||||
"symfony/var-dumper": "^7.0"
|
||||
},
|
||||
"config": {
|
||||
"sort-packages": true,
|
||||
|
|
15
composer.lock
generated
15
composer.lock
generated
|
@ -370,16 +370,16 @@
|
|||
},
|
||||
{
|
||||
"name": "psr/log",
|
||||
"version": "1.1.4",
|
||||
"version": "1.1.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/php-fig/log.git",
|
||||
"reference": "d49695b909c3b7628b6289db5479a1c204601f11"
|
||||
"reference": "0f73288fd15629204f9d42b7055f72dacbe811fc"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
|
||||
"reference": "d49695b909c3b7628b6289db5479a1c204601f11",
|
||||
"url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc",
|
||||
"reference": "0f73288fd15629204f9d42b7055f72dacbe811fc",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -403,7 +403,7 @@
|
|||
"authors": [
|
||||
{
|
||||
"name": "PHP-FIG",
|
||||
"homepage": "https://www.php-fig.org/"
|
||||
"homepage": "http://www.php-fig.org/"
|
||||
}
|
||||
],
|
||||
"description": "Common interface for logging libraries",
|
||||
|
@ -413,10 +413,7 @@
|
|||
"psr",
|
||||
"psr-3"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/php-fig/log/tree/1.1.4"
|
||||
},
|
||||
"time": "2021-05-03T11:20:27+00:00"
|
||||
"time": "2020-03-23T09:12:05+00:00"
|
||||
},
|
||||
{
|
||||
"name": "ralouphie/getallheaders",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue