1
0
mirror of https://github.com/searx/searx synced 2024-11-22 09:57:08 +01:00

Fixed Hoogle engine (#3146)

This commit is contained in:
iko 2022-01-22 20:22:24 +03:00 committed by GitHub
parent accba7afb2
commit 01e28757d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -690,22 +690,19 @@ engines:
- name : hoogle
engine : xpath
paging : True
search_url : https://hoogle.haskell.org/?hoogle={query}&start={pageno}
results_xpath : '//div[@class="result"]'
title_xpath : './/div[@class="ans"]//a'
url_xpath : './/div[@class="ans"]//a/@href'
content_xpath : './/div[@class="from"]'
page_size : 20
title_xpath : './div[@class="ans"]'
url_xpath : './div[@class="ans"]//a/@href'
content_xpath : './div[contains(@class, "doc")]'
categories : it
shortcut : ho
about:
website: https://www.haskell.org/
website: https://hoogle.haskell.org/
wikidata_id: Q34010
official_api_documentation: https://hackage.haskell.org/api
use_official_api: false
require_api_key: false
results: JSON
results: HTML
- name : imdb
engine : imdb