[enh] Add pagination to Brave

Also added ```&spellcheck=1``` because now it is disabled by default, not returning any ```suggestion_xpath```.
This commit is contained in:
Allen 2022-04-23 14:06:53 +02:00 committed by GitHub
parent ca1a5f9d27
commit 624b58764a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1667,8 +1667,9 @@ engines:
- name: brave
shortcut: brave
engine: xpath
paging: false
search_url: https://search.brave.com/search?q={query}
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
title_xpath: //span[@class="snippet-title"]
content_xpath: //p[1][@class="snippet-description"]