mirror of https://github.com/searxng/searxng.git
[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>
This commit is contained in:
parent
4b60c557a9
commit
e0365d987b
|
@ -1503,6 +1503,16 @@ engines:
|
||||||
require_api_key: false
|
require_api_key: false
|
||||||
results: html
|
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:
|
# Doku engine lets you access to any Doku wiki instance:
|
||||||
# A public one or a privete/corporate one.
|
# A public one or a privete/corporate one.
|
||||||
# - name: ubuntuwiki
|
# - name: ubuntuwiki
|
||||||
|
|
Loading…
Reference in New Issue