Safe Haskell | None |
---|---|
Language | Haskell98 |
Shellmate wrapper for download-curl
.
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.