jespresso-0.9: Extract all JavaScript from an HTML page and consolidate it in one script.

Safe HaskellNone
LanguageHaskell2010

Network.Browser.Simple

Description

A wrapper around Network.HTTP to present a simpler interface for requesting pages via HTTP

Synopsis

Documentation

download :: URI -> [Cookie] -> IO (String, [Cookie]) Source

Requests a web page specified by the URI, including optional cookies. Returns the contents of the page as a String and new cookies. Follows redirects, decodes the response body, if possible. Can fail if decoding is impossible.