1
0
mirror of https://github.com/searxng/searxng.git synced 2024-07-04 16:30:16 +02: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:
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 - 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"]