mirror of
https://github.com/searxng/searxng.git
synced 2024-12-27 11:40:29 +00:00
[feat] recoll: paged json support
This commit is contained in:
parent
1e35c3ccce
commit
514faa9162
1 changed files with 2 additions and 0 deletions
|
@ -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}))
|
||||
|
||||
|
|
Loading…
Reference in a new issue