Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 01e28757 authored by iko's avatar iko Committed by GitHub
Browse files

Fixed Hoogle engine (#3146)

parent accba7af
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -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