Skip to content

Commit

Permalink
fix: move to mqdefault.jpg instead of maxresdefault.jpg (fixes #170)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahwxorg committed Nov 4, 2024
1 parent 43eb2fd commit f1c7ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/invidious/video.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 "<div class=\"text-result-wrapper\">";
echo "<a rel=\"noreferer noopener\" href=\"$url\">";
Expand Down

0 comments on commit f1c7ab2

Please sign in to comment.