summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorHermógenes Oliveira <oliveira@daad-alumni.de>2021-02-07 10:05:35 -0300
committerHermógenes Oliveira <oliveira@daad-alumni.de>2021-02-07 10:05:35 -0300
commit514faa916208c6074dcb0fc43cbc72ad37321bce (patch)
tree8bb633fde2aa062543cbaeb921b8e61d1fd8dcb9 /searx
parent1e35c3ccce217df6f718034d47760fe9e42fa4bc (diff)
downloadsearxng-514faa916208c6074dcb0fc43cbc72ad37321bce.tar.gz
searxng-514faa916208c6074dcb0fc43cbc72ad37321bce.zip
[feat] recoll: paged json support
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/recoll.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/recoll.py b/searx/engines/recoll.py
index d90005a95..42f2858d7 100644
--- a/searx/engines/recoll.py
+++ b/searx/engines/recoll.py
@@ -18,6 +18,7 @@ about = {
}
# engine dependent config
+paging = True
time_range_support = True
# parameters from settings.yml
@@ -53,6 +54,7 @@ def request(query, params):
search_url = base_url + 'json?{query}&highlight=0'
params['url'] = search_url.format(query=urlencode({
'query': query,
+ 'page': params['pageno'],
'after': search_after,
'dir': search_dir}))