2 Module : Gargantext.Text.Crawlers
3 Description : All crawlers of Gargantext in one file.
4 Copyright : (c) CNRS, 2017
5 License : AGPL + CECILL v3
6 Maintainer : team@gargantext.org
7 Stability : experimental
12 {-# LANGUAGE NoImplicitPrelude #-}
13 {-# LANGUAGE OverloadedStrings #-}
15 module Gargantext.Text.Crawlers
19 import Data.Text (Text)
20 --import Gargantext.Prelude
21 import qualified PUBMED as PubMed
23 data Crawler = PubMed | HAL | Isidore
30 crawl :: Crawler -> Query -> IO [PubMed.Doc]
31 crawl Pubmed = PubMed.crawler