lua-users home
lua-l archive

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


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.

D.

-- 
Daniel Silverstone                         http://www.digital-scurf.org/
PGP mail accepted and encouraged.            Key Id: 3CCE BABE 206C 3B69