Re: html parser

"'Stefano' via lua-l" <[email protected]>
Newsgroups gmane.comp.lang.lua.general
Message-ID <[email protected]>
I use https://luarocks.org/modules/mva/htmlparser in a test suite for a 
static site generator. It's pretty straightforward; I haven't made an 
extensive use of it but it does the job. 

On Monday, August 3, 2026 at 6:03:23 AM UTC-4 TopchetoEU wrote:

> I have written my own HTML (and XML) parser and have used it with great 
> success to scrape websites (as complex as instagram and reddit). I can't 
> vouch for its correctness, nor its efficiency, as I never bothered to write 
> a test suite. However, it has served me well...
>
> https://git.topcheto.eu/tal/ref/master/files/lib/std/fmt/xml.lua
>
> It also has serviceable query functions for the nodes, so you can traverse 
> the tree easier. Not documented, so use at your own (sanity's) risk.
>
>
>
> On Thursday, July 30th, 2026 at 9:08 PM, Marcus Rohrmoser <[email protected]> 
> wrote:
>
> > 
> > what html parser can you recommend? I come from 
> https://aantron.github.io/lambdasoup/ and liked it, but want to port some 
> stuff to lua now.
> > 
> > Cheers,
> > Marcus
> > 
> > --
> > You received this message because you are subscribed to the Google 
> Groups "lua-l" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected].
> > To view this discussion visit 
> https://groups.google.com/d/msgid/lua-l/20260730200728.b97e4cd0f6f8c26108595a66%40mro.name
> .
> > 
>

-- 
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/lua-l/cce1759b-9991-40f1-b1c1-c98e36733d69n%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.