jackal / video-downloader-ext-facebook
This package is abandoned and no longer maintained.
No replacement package was suggested.
"Download Facebook Video"
v0.5.0
2020-05-11 11:58 UTC
Requires
- php: >=7.1
- guzzlehttp/guzzle: ^6.5
- jackal/video-downloader: ^0.5
- symfony/css-selector: >=3.4
- symfony/dom-crawler: >=3.4
Requires (Dev)
- brainmaestro/composer-git-hooks: ^2.8
- friendsofphp/php-cs-fixer: ^2.16
- phpunit/phpunit: ^7.5
This package is auto-updated.
Last update: 2024-07-13 21:11:35 UTC
README
Installation
composer require jackal/video-downloader-ext-facebook
Usage
use Jackal\Downloader\Ext\Facebook\Downloader\FacebookDownloader;
require_once __DIR__ . '/vendor/autoload.php';
$facebookVideoId = '624784478047637';
$vd = new \Jackal\Downloader\VideoDownloader();
$vd->registerDownloader(FacebookDownloader::VIDEO_TYPE, FacebookDownloader::class);
$downloader = $vd->getDownloader(FacebookDownloader::VIDEO_TYPE, $facebookVideoId, [
'format' => ['hd'],
]);
$downloader->download(__DIR__ . '/output.avi');