fixup! Add fallback to bestvideo and worstvideo (fixes #288)
This commit is contained in:
parent
29756cf290
commit
a79c89aea7
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class Video
|
|||
* including selectors like "[height<=720]")
|
||||
* @param string $password Password
|
||||
*/
|
||||
public function __construct($webpageUrl, $requestedFormat = 'best', $password = null)
|
||||
public function __construct($webpageUrl, $requestedFormat = 'best/bestvideo', $password = null)
|
||||
{
|
||||
$this->webpageUrl = $webpageUrl;
|
||||
$this->requestedFormat = $requestedFormat;
|
||||
|
|
Loading…
Reference in a new issue