This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
tom2018's profile picture

question about http

Started by tom2018, 27 October 2012 - 04:48 PM
tom2018 #1
Posted 27 October 2012 - 06:48 PM
Ok when you use http.get() you get the source code of a website is there a way to turn that source code into Lua to make it readable from inside computercraft?
Orwell #2
Posted 27 October 2012 - 06:54 PM
I used this library once for generating a html parse tree: https://gist.github.com/312275

It needed some minor tweaks to work (one I can remember is removing 'module(…, package.seeall)' on line 4)
tom2018 #3
Posted 27 October 2012 - 07:25 PM
I used this library once for generating a html parse tree: https://gist.github.com/312275

It needed some minor tweaks to work (one I can remember is removing 'module(…, package.seeall)' on line 4)
how do i use this?