Library for dealing with URLs (Uniform Resource Locators).
getContentsOfUrl
:: String -> IO String
Reads the contents of a document located by a URL.
This action requires that the program curl
or wget
is in your path,
otherwise an error is raised.
Included for backward compatibility.
getContentsOfURL
:: String -> IO String
Reads (quietly) the contents of a document located by a URL. This action requires that the program "wget" is in your path, otherwise the implementation must be adapted to the local installation.