@hackage http-directory0.1.12
http directory listing library
Categories
License
MIT
Maintainer
juhpetersen@gmail.com
Links
Versions
Installation
Tested Compilers
Dependencies (15)
- base >=4.9 && <5
- bytestring
- cryptonite <0.26
- html-conduit
- http-client
- http-client-tls Show all…
Dependents (11)
@hackage/koji-install, @hackage/stackage-query, @hackage/fedora-img-dl, @hackage/dnf-repo, @hackage/fbrnch, @hackage/fedora-repoquery, Show all…
Package Flags
executable
(off by default)
build cli tool
http-directory
A simple library for reading http directories.
It uses http-client or http-conduit for http transport, and html-conduit and xml-conduit to parse the html for links.
The library is intended for listing the files in http file directories, but since http directories are just html pages it can also be used to list the links (href's) on any html webpage.
Additionally there are methods for checking the size and modification time, and a few other helper functions.
Usage examples
Network.HTTP.Directory> httpDirectory' "https://hackage.haskell.org/package/base/src/src/System"
["CPUTime.hsc","Environment.hs","Exit.hs","IO.hs","Info.hs","Mem.hs","Timeout.hs","CPUTime","Console","Environment","IO","Mem","Posix"]
See more examples and the latest haddock documentation for more details.