on master help sign in
Fixed Hoogle engine (#3146)
commit01e28757d35fa1edc6004a17e530ecdb1203fb0b authoriko <ilyakooo0@gmail.com> dateSat 22 Jan 2022, 20:22 (5 years ago) parentaccba7a
1 file changed+5−8
searx/settings.yml+5−8
searx/settings.yml+5−8
@@ -690,22 +690,19 @@ engines:
690690
691691 - name : hoogle
692692 engine : xpath
693− paging : True
694693 search_url : https://hoogle.haskell.org/?hoogle={query}&start={pageno}
695694 results_xpath : '//div[@class="result"]'
696− title_xpath : './/div[@class="ans"]//a'
697− url_xpath : './/div[@class="ans"]//a/@href'
698− content_xpath : './/div[@class="from"]'
699− page_size : 20
695+ title_xpath : './div[@class="ans"]'
696+ url_xpath : './div[@class="ans"]//a/@href'
697+ content_xpath : './div[contains(@class, "doc")]'
700698 categories : it
701699 shortcut : ho
702700 about:
703− website: https://www.haskell.org/
701+ website: https://hoogle.haskell.org/
704702 wikidata_id: Q34010
705− official_api_documentation: https://hackage.haskell.org/api
706703 use_official_api: false
707704 require_api_key: false
708− results: JSON
705+ results: HTML
709706
710707 - name : imdb
711708 engine : imdb