on master help sign in
[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>

commit9afb845a00e72dcb9da1c6b5175ead52bb8b7938 authorMarkus Heiser <markus.heiser@darmarit.de> dateSat 26 Jun 2021, 15:47 (5 years ago) parent987b0d6
1 file changed+10
searx/settings.yml+10
searx/settings.yml+10
@@ -1575,6 +1575,16 @@ engines:
15751575 timeout: 5.0
15761576 disabled: True
15771577
1578+ - name: brave
1579+ shortcut: brave
1580+ engine: xpath
1581+ paging: false
1582+ search_url: https://search.brave.com/search?q={query}
1583+ url_xpath: //div[@class="snippet fdb"]/a/@href
1584+ title_xpath: //span[@class="snippet-title"]
1585+ content_xpath: //div[@class="snippet-content"]
1586+ categories: general
1587+
15781588# Doku engine lets you access to any Doku wiki instance:
15791589# A public one or a private/corporate one.
15801590# - name : ubuntuwiki