Compare commits
2 commits
renovate/p
...
main
Author | SHA1 | Date | |
---|---|---|---|
5677551b3f | |||
d0e2337def |
3 changed files with 313 additions and 1423 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://github.com/Rudloff/alltube).
|
||||
It is primarily used by [AllTube Download](https://code.ehwurscht.at/genuineparts/alltube).
|
||||
|
||||
You can install it with:
|
||||
|
||||
```bash
|
||||
composer require kumi/alltube-library
|
||||
composer require genuineparts/alltube-library
|
||||
```
|
||||
|
||||
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();
|
||||
```
|
||||
|
||||
You can also have a look at
|
||||
this [example project](https://github.com/Rudloff/alltube-example-project).
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "kumi/alltube-library",
|
||||
"name": "genuineparts/alltube-library",
|
||||
"description": "PHP wrapper for youtube-dl",
|
||||
"license": "GPL-3.0-only",
|
||||
"homepage": "http://alltubedownload.net/",
|
||||
|
@ -10,7 +10,7 @@
|
|||
"symfony/process": "^4.0|^5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpro/grumphp": "^0.22.0",
|
||||
"phpro/grumphp": "^0.18.0",
|
||||
"phpstan/phpstan": "^0.12.29",
|
||||
"roave/security-advisories": "dev-master",
|
||||
"squizlabs/php_codesniffer": "^3.5",
|
||||
|
|
1726
composer.lock
generated
1726
composer.lock
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue