mirror of https://github.com/searx/searx
Fixed Hoogle engine (#3146)
This commit is contained in:
parent
accba7afb2
commit
01e28757d3
|
@ -690,22 +690,19 @@ engines:
|
||||||
|
|
||||||
- name : hoogle
|
- name : hoogle
|
||||||
engine : xpath
|
engine : xpath
|
||||||
paging : True
|
|
||||||
search_url : https://hoogle.haskell.org/?hoogle={query}&start={pageno}
|
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"]'
|
||||||
url_xpath : './/div[@class="ans"]//a/@href'
|
url_xpath : './div[@class="ans"]//a/@href'
|
||||||
content_xpath : './/div[@class="from"]'
|
content_xpath : './div[contains(@class, "doc")]'
|
||||||
page_size : 20
|
|
||||||
categories : it
|
categories : it
|
||||||
shortcut : ho
|
shortcut : ho
|
||||||
about:
|
about:
|
||||||
website: https://www.haskell.org/
|
website: https://hoogle.haskell.org/
|
||||||
wikidata_id: Q34010
|
wikidata_id: Q34010
|
||||||
official_api_documentation: https://hackage.haskell.org/api
|
|
||||||
use_official_api: false
|
use_official_api: false
|
||||||
require_api_key: false
|
require_api_key: false
|
||||||
results: JSON
|
results: HTML
|
||||||
|
|
||||||
- name : imdb
|
- name : imdb
|
||||||
engine : imdb
|
engine : imdb
|
||||||
|
|
Loading…
Reference in New Issue