mirror of
https://github.com/searx/searx
synced 2024-12-12 16:56:47 +01:00
Merge pull request #2539 from OliveiraHermogenes/recoll/paged_json
[feat] recoll: add support for paging
This commit is contained in:
commit
1f09d7d561
@ -18,6 +18,7 @@ about = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# engine dependent config
|
# engine dependent config
|
||||||
|
paging = True
|
||||||
time_range_support = True
|
time_range_support = True
|
||||||
|
|
||||||
# parameters from settings.yml
|
# parameters from settings.yml
|
||||||
@ -53,6 +54,7 @@ def request(query, params):
|
|||||||
search_url = base_url + 'json?{query}&highlight=0'
|
search_url = base_url + 'json?{query}&highlight=0'
|
||||||
params['url'] = search_url.format(query=urlencode({
|
params['url'] = search_url.format(query=urlencode({
|
||||||
'query': query,
|
'query': query,
|
||||||
|
'page': params['pageno'],
|
||||||
'after': search_after,
|
'after': search_after,
|
||||||
'dir': search_dir}))
|
'dir': search_dir}))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user