Is there an equivalent python urllib library in Haskell? I want to enter the course homepage (on Moodle) and automatically download the assignments.
I recommend http-conduit ; it is widely used, has a simple interface and efficient implementation, plus automation of multi-page request flows (including cookies, etc.).
A more standard option (part of the Haskell platform) is the HTTP library , which has similar automation support , but I personally prefer the http-conduit API.