[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: HTML Parser Recommendation
- From: Daniel Silverstone <dsilvers@...>
- Date: Thu, 23 May 2013 15:20:10 +0100
On Thu, May 23, 2013 at 05:15:27PM +0300, Chris Datfung wrote:
> I'm looking for a recommendation for an HTML parser that is supported in
> both lua 5.1 and 5.2.
Parsing HTML is very hard to get right, so you're unlikely to find a pure Lua
version of a parser.
I think there's a hubbub binding: https://github.com/craigbarnes/lua-hubbub
That only seems to be for 5.1, but since it's pure C it'll probably be
reasonably easy to port for 5.2.
Daniel Silverstone http://www.digital-scurf.org/
PGP mail accepted and encouraged. Key Id: 3CCE BABE 206C 3B69