http-directory

http directory listing library

https://github.com/juhp/http-directory

Version on this page:0.1.5@rev:1
LTS Haskell 22.14:0.1.10
Stackage Nightly 2024-03-28:0.1.10
Latest on Hackage:0.1.10

See all snapshots http-directory appears in

MIT licensed by Jens Petersen
Maintained by [email protected]
This version can be pinned in stack with:http-directory-0.1.5@sha256:04ac6b484f1c7b6ad733d939ed257f205191396efe4fe13c6d058e9d1c42d57a,2111

Module documentation for 0.1.5

http-directory

Hackage MIT license Stackage Lts Stackage Nightly Build status

A simple library for reading http directories.

It uses http-client 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 actually be used to list the links (href’s) on any html webpage.

See an example and the haddock documentation for usage.

Changes

Changelog

http-directory uses PVP Versioning.

0.1.5 (2019-06-xx)

  • also filter “..”, “#” and “:” from httpDirectory
  • export Manager
  • add isHttpUrl
  • testsuite added

0.1.4 (2019-06-07)

  • add httpRawDirectory
  • httpDirectory now filters out absolutes hrefs and sort links
  • add httpDirectory’ and httpRedirect’ variants with own Manager

0.1.3 (2019-06-04)

  • add httpExists

0.1.2 (2019-05-07)

  • add httpManager convenient function
  • print url when result not 200
  • add an example

0.1.1 (2019-04-14)

  • add httpLastModified

0.1.0 (2019-04-11)

  • initial release with httpDirectory, httpFileSize, and httpRedirect(s)