summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-05-26 20:17:42 +0200
committerGitHub <noreply@github.com>2022-05-26 20:17:42 +0200
commit866030611828c26a9c8c63686715eb5e96f54019 (patch)
treea0a7af9ef3dae3b8998ec3b04aca437269e5b221
parentfddbc5ed00ded5f28ef3b643686e7c177a3a75ce (diff)
parent13f4dcafc1c3dcaa7932e1dbc15fa84d18a4390c (diff)
downloadsearxng-866030611828c26a9c8c63686715eb5e96f54019.tar.gz
searxng-866030611828c26a9c8c63686715eb5e96f54019.zip
Merge pull request #1240 from allendema/brave-results
[fix] [new] Brave - Update xpath
-rw-r--r--searx/settings.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index ad7bde5de..e35fe54e0 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -1689,7 +1689,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