From 15b0505b961561d598e2aaa8229309ec7ba1f753 Mon Sep 17 00:00:00 2001 From: Diogo Canut Date: Sun, 10 Dec 2023 21:24:17 -0300 Subject: [PATCH 1/3] Provide a more resilient and reliable searx instance --- src/engines/searx.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/engines/searx.rs b/src/engines/searx.rs index 7bf0431..7f20b15 100644 --- a/src/engines/searx.rs +++ b/src/engines/searx.rs @@ -52,11 +52,11 @@ impl SearchEngine for Searx { let url: String = match page { 0 | 1 => { - format!("https://searx.work/search?q={query}&pageno=1&safesearch={safe_search}") + format!("https://searx.be/search?q={query}&pageno=1&safesearch={safe_search}") + } + _ => { + format!("https://searx.be/search?q={query}&pageno={page}&safesearch={safe_search}") } - _ => format!( - "https://searx.work/search?q={query}&pageno={page}&safesearch={safe_search}" - ), }; // initializing headers and adding appropriate headers. From 44f51487c2e7dc96e3071d77b9c727f46a88c826 Mon Sep 17 00:00:00 2001 From: alamin655 Date: Mon, 11 Dec 2023 09:09:41 +0530 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=94=96=20chore(release):=20bump=20the?= =?UTF-8?q?=20app=20version=20(#435)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v1.5.2 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index edd1d3a..cd19790 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "websurfx" -version = "1.5.0" +version = "1.5.2" edition = "2021" description = "An open-source alternative to Searx that provides clean, ad-free, and organic results with incredible speed while keeping privacy and security in mind." repository = "https://github.com/neon-mmd/websurfx" From 918d142d2415b224ba8962c335ef3b453e7fd9ce Mon Sep 17 00:00:00 2001 From: alamin655 Date: Mon, 11 Dec 2023 09:10:25 +0530 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=94=96=20chore(release):=20bump=20the?= =?UTF-8?q?=20app=20version=20(#435)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v1.5.2 --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index fdc506c..3d147af 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4066,7 +4066,7 @@ checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" [[package]] name = "websurfx" -version = "1.5.0" +version = "1.5.2" dependencies = [ "actix-cors", "actix-files",