feat: New phantomjsDir option

This is used by the openload extractor

We also add to update youtube-dl to 2018.01.21 in order for the extractor to work correctly.
Fixes #146
This commit is contained in:
Pierre Rudloff 2018-01-25 15:10:11 +01:00
parent 4b1db952ba
commit e36e98e47a
6 changed files with 23 additions and 8 deletions

View file

@ -197,6 +197,12 @@ class VideoDownloadTest extends TestCase
'f4v',
'edgefcs.net',
],
[
'https://openload.co/embed/qTsjMEUtN4U', 'best[protocol^=http]',
'aup-the-lego-ninjago-movie-2017-1508463762.MP4.mp4-qTsjMEUtN4U',
'mp4',
'openload.co'
]
];
}
@ -282,7 +288,7 @@ class VideoDownloadTest extends TestCase
$this->assertObjectHasAttribute('ext', $info);
$this->assertObjectHasAttribute('title', $info);
$this->assertObjectHasAttribute('extractor_key', $info);
$this->assertObjectHasAttribute('formats', $info);
$this->assertObjectHasAttribute('format', $info);
}
/**