Commit a51250b8 authored by Mudada's avatar Mudada

merge

parents 349869d9 711abfab
......@@ -26,14 +26,12 @@ import GHC.Generics
{-
debug purpose, use getMetadataWith
-}
getMetadataWith2 :: T.Text -> IO (Either ClientError Documents)
getMetadataWith2 q = do
manager' <- newManager tlsManagerSettings
runClientM
(search (Just q) (Just 1) (Just 3) (Just "") (Just All) (Just Json))
(mkClientEnv manager' $ BaseUrl Https "search.iscpif.fr" 443 "")
{--
read($url, function(err, article, meta) {
// Title
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment