mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Add paging support to XPath & Erowid engines
This commit is contained in:
parent
e202c6fbec
commit
bacc9a3df1
2 changed files with 19 additions and 2 deletions
|
|
@ -84,7 +84,10 @@ engines:
|
|||
|
||||
- name : erowid
|
||||
engine : xpath
|
||||
search_url : https://www.erowid.org/search.php?q={query}
|
||||
paging : True
|
||||
first_page_num : 0
|
||||
page_size : 30
|
||||
search_url : https://www.erowid.org/search.php?q={query}&s={pageno}
|
||||
url_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
|
||||
title_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
|
||||
content_xpath : //dl[@class="results-list"]/dd[@class="result-details"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue