diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-26 15:47:39 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-26 15:54:45 +0200 |
| commit | e0365d987beaaea5b1e96fca0eba6a7f9e65c4b3 (patch) | |
| tree | aaa67b65c2cf553d62410bde63ff9929ddca4e86 | |
| parent | 4b60c557a943622ad22bf819b1c81f7725830b99 (diff) | |
[enh] add Brave-Search engine (XPath)
Add https://search.brave.com which was requested by @kaonashi696 [1].
This patch was suggested by @eagle-dogtooth [2].
[1] https://github.com/searx/searx/issues/2857
[2] https://github.com/searx/searx/issues/2857#issuecomment-867199241
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
| -rw-r--r-- | searx/settings.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index 38fae50d0..976d81678 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1503,6 +1503,16 @@ engines: require_api_key: false results: html + - name: brave + shortcut: brave + engine: xpath + paging: false + search_url: https://search.brave.com/search?q={query} + url_xpath: //div[@class="snippet fdb"]/a/@href + title_xpath: //span[@class="snippet-title"] + content_xpath: //div[@class="snippet-content"] + categories: general + # Doku engine lets you access to any Doku wiki instance: # A public one or a privete/corporate one. # - name: ubuntuwiki |