✨ Brave
for the search engine (#335)
* feat: implement brave engine * refactor: correct indentations in stylelint config * docs: add dummy config option to config.lua * feat: implement safe_search_level in brave engine * refactor: move var to format * fix: make strict search above level 1
This commit is contained in:
parent
fc3b416970
commit
27bc52c008
5 changed files with 103 additions and 2 deletions
|
@ -150,6 +150,10 @@ impl EngineHandler {
|
|||
let engine = crate::engines::searx::Searx::new()?;
|
||||
("searx", Box::new(engine))
|
||||
}
|
||||
"brave" => {
|
||||
let engine = crate::engines::brave::Brave::new()?;
|
||||
("brave", Box::new(engine))
|
||||
}
|
||||
_ => {
|
||||
return Err(Report::from(EngineError::NoSuchEngineFound(
|
||||
engine_name.to_string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue