1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 20:17:45 +01:00

[fix] [new] Brave - Update xpath

Last merge request was messed up with git.
This commit is contained in:
Allen 2022-05-26 18:44:11 +02:00 committed by GitHub
parent fddbc5ed00
commit 13f4dcafc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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