Haskell 中 Python urllib 的等价物

发布于 2025-01-05 08:57:14 字数 69 浏览 5 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

海拔太高太耀眼 2025-01-12 08:57:14

我推荐 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文