Merge branch 'rolling' into fix-useless-use-of-format!

This commit is contained in:
alamin655 2023-12-11 09:17:15 +05:30 committed by GitHub
commit 2c985b8db5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -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.