From fba83713965eaedc07aff4115c8ef2adf0f6b5f5 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Wed, 6 Mar 2024 12:41:36 +0100 Subject: [PATCH] [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 --- searx/settings.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/searx/settings.yml b/searx/settings.yml index 78dfb0c10..f292de18a 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -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'