diff options
author | Joris Guyonvarch | 2015-04-18 21:59:22 +0200 |
---|---|---|
committer | Joris Guyonvarch | 2015-04-18 21:59:22 +0200 |
commit | 389d979eb3eaa18beb8a6da9f4a03bdb6acc1722 (patch) | |
tree | 9d475b868ad13162c0ecba42b2138058c2e2e68b /src/Main.hs | |
parent | 86f9991deeb44a6cc81044e61a9ad3ee001c5ced (diff) |
Parsing utag_list from a detail page and showing the keys that are given in the configuration file
Diffstat (limited to 'src/Main.hs')
-rw-r--r-- | src/Main.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs index f38646b..82135a2 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -19,3 +19,15 @@ main = do listenToNewAds config Nothing -> T.putStrLn C.configUsage + +-- import Page +-- import Parser.Detail + +-- main :: IO () +-- main = do +-- eitherPage <- getPage "http://www.leboncoin.fr/locations/794858813.htm?ca=18_s" +-- case eitherPage of +-- Right page -> +-- putStrLn (show $ parseDetail page) +-- Left error -> +-- T.putStrLn error |