雅司病有 html 解析器吗?

Is there any html parser for yaws?

我正在 yaws server. I want to extract data from some html page but their seems to be no good way to do this on yaws. There is a method using mochiweb_html 上用 erlang 编写一个应用程序,但它是用于 mochiweb 服务器而不是 yaws。我应该怎么办? mochiweb_html 能否以某种方式用于雅司病?

您可以像使用任何普通的 Erlang 模块一样使用 Mochiweb 模块的功能。您无需成为 运行 Mochiweb 服务器即可。

Yaws 源代码中的 yaws_html.erl file 提供了基本的 HTML 解析功能。