mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 12:10:11 +01:00
[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
@ -940,8 +940,7 @@ engines:
|
|||||||
|
|
||||||
- name: hoogle
|
- name: hoogle
|
||||||
engine: xpath
|
engine: xpath
|
||||||
paging: true
|
search_url: https://hoogle.haskell.org/?hoogle={query}
|
||||||
search_url: https://hoogle.haskell.org/?hoogle={query}&start={pageno}
|
|
||||||
results_xpath: '//div[@class="result"]'
|
results_xpath: '//div[@class="result"]'
|
||||||
title_xpath: './/div[@class="ans"]//a'
|
title_xpath: './/div[@class="ans"]//a'
|
||||||
url_xpath: './/div[@class="ans"]//a/@href'
|
url_xpath: './/div[@class="ans"]//a/@href'
|
||||||
|
Loading…
Reference in New Issue
Block a user