Safe Haskell | None |
---|---|
Language | Haskell2010 |
High level functions for downloading files.
Documentation
fetch :: URI -> Shell String Source #
Download content specified by a URL, returning the content
as a String
. The content is interpreted as UTF8.
fetchBytes :: URI -> Shell ByteString Source #
Download content specified by a URL, returning the content
as a strict ByteString
.
fetchFile :: FilePath -> URI -> Shell () Source #
Download content specified by a URL, writing the content to
the file specified by the given FilePath
.
fetchTags :: URI -> Shell [Tag String] Source #
Download the content as for fetch
, but return it as a list of parsed
tags using the tagsoup html parser.