1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-19 19:00:10 +01:00

[enh] add suggestions to brave engine

Suggestions should be added too.

    suggestion_xpath: //div[@class="text-gray h6"]/a

You can try it with:

    !brave recurzuoin

Suggested-by: @allendema in https://github.com/searx/searx/issues/2857#issuecomment-904837023
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-09-04 11:38:59 +02:00
parent 018537080c
commit 730073b850

View File

@ -1585,6 +1585,7 @@ engines:
url_xpath: //div[@class="snippet fdb"]/a/@href url_xpath: //div[@class="snippet fdb"]/a/@href
title_xpath: //span[@class="snippet-title"] title_xpath: //span[@class="snippet-title"]
content_xpath: //p[1][@class="snippet-description"] content_xpath: //p[1][@class="snippet-description"]
suggestion_xpath: //div[@class="text-gray h6"]/a
categories: general categories: general
about: about:
website: https://brave.com/search/ website: https://brave.com/search/