From 9e8995e13dd4d0ad87ed865ab7225cdc08937ec5 Mon Sep 17 00:00:00 2001 From: Rob Date: Sun, 18 Sep 2022 13:32:23 -0400 Subject: [PATCH] [fix] brave engine: no search results (#3361) There were never any results from the Brave search engine so fixed url_xpath and now Brave search results are working. --- searx/settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/settings.yml b/searx/settings.yml index 220203b0..cd566762 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1661,7 +1661,7 @@ engines: paging: true first_page_num: 0 search_url: https://search.brave.com/search?q={query}&offset={pageno}&spellcheck=1 - url_xpath: //div[@class="snippet fdb"]/a/@href + url_xpath: //a[@class="result-header"]/@href title_xpath: //span[@class="snippet-title"] content_xpath: //p[1][@class="snippet-description"] suggestion_xpath: //div[@class="text-gray h6"]/a