Browse Source

Merge pull request #1240 from allendema/brave-results

[fix] [new] Brave - Update xpath
Alexandre Flament 2 years ago
parent
commit
8660306118
1 changed files with 1 additions and 1 deletions
  1. 1 1
      searx/settings.yml

+ 1 - 1
searx/settings.yml

@@ -1689,7 +1689,7 @@ engines:
     paging: true
     paging: true
     first_page_num: 0
     first_page_num: 0
     search_url: https://search.brave.com/search?q={query}&offset={pageno}&spellcheck=1
     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"]
     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
     suggestion_xpath: //div[@class="text-gray h6"]/a