From 4559857380317d768ff8394db711eb5c894aa1f8 Mon Sep 17 00:00:00 2001 From: lolcat Date: Tue, 8 Aug 2023 03:09:47 -0400 Subject: added brave image+video support --- lib/frontend.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/frontend.php') diff --git a/lib/frontend.php b/lib/frontend.php index 16e5693..7f65354 100644 --- a/lib/frontend.php +++ b/lib/frontend.php @@ -892,6 +892,7 @@ class frontend{ "option" => [ "ddg" => "DuckDuckGo", "yandex" => "Yandex", + "brave" => "Brave"//, //"google" => "Google" ] ]; @@ -903,6 +904,7 @@ class frontend{ "option" => [ "yt" => "YouTube", "ddg" => "DuckDuckGo", + "brave" => "Brave"//, //"google" => "Google" ] ]; @@ -1285,7 +1287,7 @@ class frontend{ return htmlspecialchars($image); } - return "/proxy?i=" . urlencode($image) . "&s=" . $format; + return "/proxy.php?i=" . urlencode($image) . "&s=" . $format; } public function htmlnextpage($gets, $npt, $page){ -- cgit v1.2.3