http-directory: http directory listing library

[ library, mit, network ] [ Propose Tags ]

Library for listing the files (href's) in an http directory. It can also check the size, existence, modtime of files, and for url redirects.

[Skip to Readme]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees


Versions [RSS] 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9 (info)
Change log
Dependencies base (<5), bytestring, cryptonite (<0.26), html-conduit, http-client, http-client-tls, http-conduit, http-date (>=0.0.7), http-types, network-uri, semigroups, tagstream-conduit (<0.5.6), text, time, xml-conduit [details]
License MIT
Copyright 2019-2021 Jens Petersen
Author Jens Petersen
Category Network
Home page
Bug tracker
Source repo head: git clone
Uploaded by JensPetersen at 2021-12-09T17:11:40Z
Distributions Fedora:0.1.9, LTSHaskell:0.1.9, NixOS:0.1.9, Stackage:0.1.9
Downloads 3731 total (44 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-12-09 [all 1 reports]

Readme for http-directory-0.1.9

[back to package description]


Hackage MIT license Stackage Lts Stackage Nightly

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.

Usage examples

Network.HTTP.Directory> :type httpDirectory'
httpDirectory' :: String -> IO [Text]
Network.HTTP.Directory> httpDirectory' ""

See more examples and the latest haddock documentation for more details.