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

Getting web data

Started by DannySMc, 22 October 2014 - 09:09 AM
DannySMc #1
Posted 22 October 2014 - 11:09 AM
So I have a website that spits out some information, the thing is it spits it out with some html data as well… How do i get rid of the html and keep the table data.
KingofGamesYami #2
Posted 22 October 2014 - 02:07 PM
string.gsub comes to mind.
theoriginalbit #3
Posted 22 October 2014 - 02:59 PM
are we able to see the code of this 'thing'? It is possible to have no HTML data, so it sounds to me like you're doing something wrong on your website.
DannySMc #4
Posted 22 October 2014 - 04:00 PM
are we able to see the code of this 'thing'? It is possible to have no HTML data, so it sounds to me like you're doing something wrong on your website.

Don't worry, this works now, was trying to use computercraft to download data from a mysql database using php to get the information and output it to a file to download.
This is working now :)/>