From a79c89aea7b4261a01f377f1e41d1dbebf298c8b Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sat, 20 Jun 2020 13:39:35 +0200 Subject: [PATCH] fixup! Add fallback to bestvideo and worstvideo (fixes #288) --- classes/Video.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Video.php b/classes/Video.php index f88a088..38c9287 100644 --- a/classes/Video.php +++ b/classes/Video.php @@ -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;