lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 23 November 2013 07:13, luciano de souza <luchyanus@gmail.com> wrote:
> Hello all,
>
> I'd like to use a HTML parser. Searching on web, I found a rock called
> htmlparser. As I used Lua 5.1 and htmlparser is compatible with lua
> 5.2, I did:

If you want a fully conforming HTML5 parser, you could try this:

  https://github.com/craigbarnes/lua-gumbo

It's mostly complete, although I can't guarantee API stability just yet.

No offense to the author of htmlparser, but that module is not a "HTML
parser" at all. It's not even superficially spec-compliant.