| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Control.Shell.Download
Description
High level functions for downloading files.
Documentation
fetch :: URI -> Shell String Source
Download content specified by a url using curl, returning the content
as a String.
fetchBytes :: URI -> Shell ByteString Source
Download content specified by a url using curl, returning the content
as a strict ByteString.
fetchFile :: FilePath -> URI -> Shell () Source
Download content specified by a url using curl, 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.