fixup! Add fallback to bestvideo and worstvideo (fixes #288)

This commit is contained in:
Pierre Rudloff 2020-06-20 13:39:35 +02:00
parent 29756cf290
commit a79c89aea7

View file

@ -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;