From 7fb8b2adfd840bba7ec2a345c8868508337b2412 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 6 Jun 2024 08:56:17 +0000 Subject: customize --- lib/backend.php | 2 +- lib/frontend.php | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'lib') diff --git a/lib/backend.php b/lib/backend.php index cfb04a9..5b990a9 100644 --- a/lib/backend.php +++ b/lib/backend.php @@ -50,7 +50,7 @@ class backend{ switch($type){ case "raw_ip": - return; + curl_setopt($curlproc, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6); break; case "http": diff --git a/lib/frontend.php b/lib/frontend.php index 1c3eb09..ae703fc 100644 --- a/lib/frontend.php +++ b/lib/frontend.php @@ -919,12 +919,12 @@ class frontend{ $filters["scraper"] = [ "display" => "Scraper", "option" => [ - "ddg" => "DuckDuckGo", "brave" => "Brave", - "yandex" => "Yandex", "google" => "Google", + "yandex" => "Yandex", "qwant" => "Qwant", "yep" => "Yep", + "ddg" => "DuckDuckGo", "greppr" => "Greppr", "crowdview" => "Crowdview", "mwmbl" => "Mwmbl", @@ -940,10 +940,10 @@ class frontend{ $filters["scraper"] = [ "display" => "Scraper", "option" => [ - "ddg" => "DuckDuckGo", - "yandex" => "Yandex", "brave" => "Brave", "google" => "Google", + "ddg" => "DuckDuckGo", + "yandex" => "Yandex", "qwant" => "Qwant", "yep" => "Yep", //"pinterest" => "Pinterest", @@ -972,10 +972,10 @@ class frontend{ $filters["scraper"] = [ "display" => "Scraper", "option" => [ - "ddg" => "DuckDuckGo", - "brave" => "Brave", "google" => "Google", + "brave" => "Brave", "qwant" => "Qwant", + "ddg" => "DuckDuckGo", "yep" => "Yep", "mojeek" => "Mojeek" ] -- cgit v1.2.3