forked from Ponysearch/Ponysearch
[fix] XPath engine hoogle - hoogle.haskell.org has no paging support
Search on hoogle.haskell.org does no longer have pages. Closes: https://github.com/searxng/searxng/issues/3278 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
a5b81e2555
commit
fba8371396
1 changed files with 1 additions and 2 deletions
|
@ -940,8 +940,7 @@ engines:
|
|||
|
||||
- name: hoogle
|
||||
engine: xpath
|
||||
paging: true
|
||||
search_url: https://hoogle.haskell.org/?hoogle={query}&start={pageno}
|
||||
search_url: https://hoogle.haskell.org/?hoogle={query}
|
||||
results_xpath: '//div[@class="result"]'
|
||||
title_xpath: './/div[@class="ans"]//a'
|
||||
url_xpath: './/div[@class="ans"]//a/@href'
|
||||
|
|
Loading…
Reference in a new issue