Compare commits
1 commit
main
...
renovate/s
Author | SHA1 | Date | |
---|---|---|---|
|
5c08a5acbd |
3 changed files with 11 additions and 9 deletions
|
@ -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://code.ehwurscht.at/genuineparts/alltube).
|
It is primarily used by [AllTube Download](https://github.com/Rudloff/alltube).
|
||||||
|
|
||||||
You can install it with:
|
You can install it with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
composer require genuineparts/alltube-library
|
composer require kumi/alltube-library
|
||||||
```
|
```
|
||||||
|
|
||||||
You can then use it in your PHP code:
|
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();
|
$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",
|
"description": "PHP wrapper for youtube-dl",
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
"homepage": "http://alltubedownload.net/",
|
"homepage": "http://alltubedownload.net/",
|
||||||
|
|
12
composer.lock
generated
12
composer.lock
generated
|
@ -1648,16 +1648,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "squizlabs/php_codesniffer",
|
"name": "squizlabs/php_codesniffer",
|
||||||
"version": "3.11.3",
|
"version": "3.12.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
|
"url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
|
||||||
"reference": "ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10"
|
"reference": "6d4cf6032d4b718f168c90a96e36c7d0eaacb2aa"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10",
|
"url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/6d4cf6032d4b718f168c90a96e36c7d0eaacb2aa",
|
||||||
"reference": "ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10",
|
"reference": "6d4cf6032d4b718f168c90a96e36c7d0eaacb2aa",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -1724,11 +1724,11 @@
|
||||||
"type": "open_collective"
|
"type": "open_collective"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"url": "https://thanks.dev/phpcsstandards",
|
"url": "https://thanks.dev/u/gh/phpcsstandards",
|
||||||
"type": "thanks_dev"
|
"type": "thanks_dev"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2025-01-23T17:04:15+00:00"
|
"time": "2025-04-13T04:10:18+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/config",
|
"name": "symfony/config",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue