Haskell 中 Python urllib 的等价物
Haskell 中是否有相当于 Python 的 urllib 库?我想登录课程主页(在 Moodle 上)并自动下载作业。
Is there an equivalent of Python's urllib library in Haskell? I want to login into course homepage (on Moodle) and download assignments automatically.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我推荐 http-conduit;它被广泛使用,具有简单的界面和高效的实现,再加上 多页面请求流自动化(包括 cookie 等)。
一个更标准的选项(Haskell 平台的一部分)是 HTTP 库,它具有 类似的自动化支持,但就我个人而言,我更喜欢http -导管的API。
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.