diff options
author | Allen <64094914+allendema@users.noreply.github.com> | 2022-04-23 14:06:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-23 14:06:53 +0200 |
commit | 624b58764ab99bb07a7aff7232377bfdf10e5de8 (patch) | |
tree | 0ce354141271975f2f5b711a5f842ac21e5ae080 | |
parent | ca1a5f9d270696a917aef9c411c9671255732281 (diff) |
[enh] Add pagination to Brave
Also added ```&spellcheck=1``` because now it is disabled by default, not returning any ```suggestion_xpath```.
-rw-r--r-- | searx/settings.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index 2976f1c8..fb52bd8c 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"] |