forked from Ponysearch/Ponysearch
Merge pull request #1144 from allendema/brave-pagination
[enh] Add pagination to Brave
This commit is contained in:
commit
d502e7d403
1 changed files with 3 additions and 2 deletions
|
@ -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 a new issue