msva / lua-htmlparser

An HTML parser for lua.
234 stars 44 forks source link

How do I use this? #56

Closed boston2029 closed 1 year ago

boston2029 commented 3 years ago

How do I use this in Roblox because it'd be cool for displaying websites in Roblox.

msva commented 3 years ago

Well, I didn't touch roblox for an eternity already, so I didn't even remember if there is a lua-interpreter in the first place. But even if it is, I'm pretty sure, this library is not what you want.

It's purpose is to convert HTML-code to the DOM-tree, get an element you need with selectors, and get it's content. With additinal skill, it can be used to edit the DOM tree properly (and not just gsub'ing).

But it has nothing to do with either: