summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-07-27 23:06:49 -0400
committerlolcat <will@lolcat.ca>2023-07-27 23:06:49 -0400
commit7c771c82c8e03b337f9f03ae2d4afc25d3f0faca (patch)
tree7a4deca784caee3aebaf29b99f7f1f087a2bb9c9 /lib
parent16ee0b368fcf24b48574172726e32a19c275d691 (diff)
bug fixes (without google support)
Diffstat (limited to 'lib')
-rw-r--r--lib/frontend.php10
-rw-r--r--lib/nextpage.php2
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/frontend.php b/lib/frontend.php
index e03eb1d..16e5693 100644
--- a/lib/frontend.php
+++ b/lib/frontend.php
@@ -878,7 +878,7 @@ class frontend{
"option" => [
"ddg" => "DuckDuckGo",
"brave" => "Brave",
- "google" => "Google",
+ //"google" => "Google",
"mojeek" => "Mojeek",
"marginalia" => "Marginalia",
"wiby" => "wiby"
@@ -892,7 +892,7 @@ class frontend{
"option" => [
"ddg" => "DuckDuckGo",
"yandex" => "Yandex",
- "google" => "Google"
+ //"google" => "Google"
]
];
break;
@@ -903,7 +903,7 @@ class frontend{
"option" => [
"yt" => "YouTube",
"ddg" => "DuckDuckGo",
- "google" => "Google"
+ //"google" => "Google"
]
];
break;
@@ -914,7 +914,7 @@ class frontend{
"option" => [
"ddg" => "DuckDuckGo",
"brave" => "Brave",
- "google" => "Google",
+ //"google" => "Google",
"mojeek" => "Mojeek"
]
];
@@ -1285,7 +1285,7 @@ class frontend{
return htmlspecialchars($image);
}
- return "/proxy.php?i=" . urlencode($image) . "&s=" . $format;
+ return "/proxy?i=" . urlencode($image) . "&s=" . $format;
}
public function htmlnextpage($gets, $npt, $page){
diff --git a/lib/nextpage.php b/lib/nextpage.php
index a883e49..3fab855 100644
--- a/lib/nextpage.php
+++ b/lib/nextpage.php
@@ -28,7 +28,7 @@ class nextpage{
$this->scraper .
(string)($key),
gzdeflate($salt.$iv.$out.$tag),
- 420 // cache information for 7 minutes blaze it
+ 900 // cache information for 15 minutes blaze it
);
return