summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-04-24 22:44:55 +0200
committerGitHub <noreply@github.com>2022-04-24 22:44:55 +0200
commitd502e7d403b8539d40fe8d9c5e760a01f0555eda (patch)
tree0ce354141271975f2f5b711a5f842ac21e5ae080 /searx
parentca1a5f9d270696a917aef9c411c9671255732281 (diff)
parent624b58764ab99bb07a7aff7232377bfdf10e5de8 (diff)
downloadsearxng-d502e7d403b8539d40fe8d9c5e760a01f0555eda.tar.gz
searxng-d502e7d403b8539d40fe8d9c5e760a01f0555eda.zip
Merge pull request #1144 from allendema/brave-pagination
[enh] Add pagination to Brave
Diffstat (limited to 'searx')
-rw-r--r--searx/settings.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 2976f1c83..fb52bd8cd 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -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"]