mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 12:10:11 +01:00
[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:
parent
ca1a5f9d27
commit
624b58764a
@ -1667,8 +1667,9 @@ engines:
|
|||||||
- name: brave
|
- name: brave
|
||||||
shortcut: brave
|
shortcut: brave
|
||||||
engine: xpath
|
engine: xpath
|
||||||
paging: false
|
paging: true
|
||||||
search_url: https://search.brave.com/search?q={query}
|
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: //div[@class="snippet fdb"]/a/@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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user