Browse Source

Merge pull request #196 from return42/fix-brave

[fix] brave engine: shows descriptions with their correct URLs
Markus Heiser 3 years ago
parent
commit
bb98a07b50
1 changed files with 7 additions and 1 deletions
  1. 7 1
      searx/settings.yml

+ 7 - 1
searx/settings.yml

@@ -1531,8 +1531,14 @@ engines:
     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"]
+    content_xpath: //p[1][@class="snippet-description"]
     categories: general
+    about:
+      website: https://brave.com/search/
+      wikidata_id: Q22906900
+      use_official_api: false
+      require_api_key: false
+      results: HTML
 
 # Doku engine lets you access to any Doku wiki instance:
 # A public one or a privete/corporate one.