From f1c7ab2e29da8ea7fa4ec39632adc5322a8ad32a Mon Sep 17 00:00:00 2001 From: Ahwx Date: Mon, 4 Nov 2024 11:10:17 +0100 Subject: [PATCH] fix: move to `mqdefault.jpg` instead of `maxresdefault.jpg` (fixes #170) --- engines/invidious/video.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/invidious/video.php b/engines/invidious/video.php index 0c99f629..85d90116 100644 --- a/engines/invidious/video.php +++ b/engines/invidious/video.php @@ -53,7 +53,7 @@ public static function print_results($results, $opts) { $views = $result["views"] ?? ''; $date = $result["date"] ?? ''; $lengthSeconds = $result["lengthSeconds"] ?? ''; - $thumbnail = "https://i.ytimg.com/vi/" . htmlspecialchars(explode("=", $url)[1]) . "/maxresdefault.jpg" ?? ''; + $thumbnail = "https://i.ytimg.com/vi/" . htmlspecialchars(explode("=", $url)[1]) . "/mqdefault.jpg" ?? ''; echo "
"; echo "";