Skip to content

Instantly share code, notes, and snippets.

@obcode
Created June 6, 2011 20:55
Show Gist options
  • Save obcode/1011082 to your computer and use it in GitHub Desktop.
Save obcode/1011082 to your computer and use it in GitHub Desktop.
module Main where
import Network.HTTP.Enumerator
import Network.HTTP.Types
import qualified Data.ByteString.Lazy.UTF8 as BSLU
page = "http://www.invest-in-thuringia.de/service/firmendatenbank/?searchScope=firmen-detail&adrid=2660"
main = do
req0 <- parseUrl page
let req = req0 { method = methodGet }
res <- withManager $ httpLbs req
putStrLn $ BSLU.toString $ responseBody res
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment