Merge pull request #1240 from allendema/brave-results

[fix] [new] Brave - Update xpath
This commit is contained in:
Alexandre Flament 2022-05-26 20:17:42 +02:00 committed by GitHub
commit 8660306118
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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