MIT licensed by Jens Petersen
This version can be pinned in stack with:http-directory-0.1.7@sha256:b54b87f835cabb280f9dd4477efddf64966974519b43a1ebc55c63e27ca8bec0,2206
Module documentation for 0.1.7
Depends on 11 packages
(full list with versions ) :
base ,
bytestring ,
html-conduit ,
http-client ,
http-client-tls ,
http-date ,
http-types ,
network-uri ,
text ,
time ,
xml-conduit http-directory
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.
Changelog
http-directory
uses PVP Versioning .
0.1.7 (2020-01-24)
drop </> since it conflicts with filepath
deprecates 0.1.6
0.1.6 (2020-01-24)
filter relative/paths and relative?queries
add url </> file
add trailingSlash for url and noTrailingSlash for filename
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)
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)
0.1.0 (2019-04-11)
initial release with httpDirectory, httpFileSize, and httpRedirect(s)
Stackage is a service provided by the
Haskell Foundation
│ Originally developed by
FP Complete