Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Equivalent of Python urllib in Haskell

Is there an equivalent of Python's urllib library in Haskell? I want to login into course homepage (on Moodle) and download assignments automatically.

like image 369
Dilawar Avatar asked Feb 15 '12 14:02

Dilawar


1 Answers

I recommend http-conduit; it's widely-used, has a simple interface and an efficient implementation, plus automation for 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 personally, I prefer http-conduit's API.

like image 166
ehird Avatar answered Nov 04 '22 06:11

ehird