diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2024-03-06 12:41:36 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-03-07 17:31:25 +0100 |
commit | fba83713965eaedc07aff4115c8ef2adf0f6b5f5 (patch) | |
tree | b8815161f54b81c7abf4182f49fc41de34ed6714 /searx/settings.yml | |
parent | a5b81e2555341090b0f1b3523ab86b2f951291c8 (diff) | |
download | searxng-fba83713965eaedc07aff4115c8ef2adf0f6b5f5.tar.gz searxng-fba83713965eaedc07aff4115c8ef2adf0f6b5f5.zip |
[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>
Diffstat (limited to 'searx/settings.yml')
-rw-r--r-- | searx/settings.yml | 3 |
1 files changed, 1 insertions, 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' |