From 624b58764ab99bb07a7aff7232377bfdf10e5de8 Mon Sep 17 00:00:00 2001 From: Allen <64094914+allendema@users.noreply.github.com> Date: Sat, 23 Apr 2022 14:06:53 +0200 Subject: [PATCH] [enh] Add pagination to Brave Also added ```&spellcheck=1``` because now it is disabled by default, not returning any ```suggestion_xpath```. --- searx/settings.yml | 5 +++-- 1 file 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"]