Merge branch 'rolling' into fix-useless-use-of-format!
This commit is contained in:
commit
2c985b8db5
3 changed files with 6 additions and 6 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue