summaryrefslogtreecommitdiff
path: root/searx/settings.yml
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-06-28 09:23:25 +0200
committerGitHub <noreply@github.com>2021-06-28 09:23:25 +0200
commit7308709b8bfb9eaecaf66ec05c2965942b409c8e (patch)
tree47fd106284a92f7e12eb629952e7295c8a158a2a /searx/settings.yml
parentb2da675e27668bd88a41d1a9211bcc44b71c58fe (diff)
parente0365d987beaaea5b1e96fca0eba6a7f9e65c4b3 (diff)
downloadsearxng-7308709b8bfb9eaecaf66ec05c2965942b409c8e.tar.gz
searxng-7308709b8bfb9eaecaf66ec05c2965942b409c8e.zip
Merge pull request #179 from return42/brave
[enh] add Brave-Search engine (XPath)
Diffstat (limited to 'searx/settings.yml')
-rw-r--r--searx/settings.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 9de49a2c0..4347ab78e 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