11-10-2011, 03:11 AM
This works: (Thanks Kwen!)
local fp = io.popen('wget -U"Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6" "URL'" -o NUL -Otemp.html >NUL')
fp:close()
fp = io.open("temp.html","r")
need to download and install wget for it to work on windows.
local fp = io.popen('wget -U"Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6" "URL'" -o NUL -Otemp.html >NUL')
fp:close()
fp = io.open("temp.html","r")
need to download and install wget for it to work on windows.