简体   繁体   中英

Parsing HTML with Erlang

I am trying to write my first Erlang application, and I need to parse HTML into some sort of internal format. I have had a look at the merl module, but as far as I can see it is only capable of parsing XML.

When I supply HTML to merl, it chokes on the non symetric tags.

Which library should I be using for this?

Have just found mochiweb_html . Looks like it does what I want...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM