Retrieve content of an HTML web page
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Retrieve content of an HTML web page
- From: Chien Nguyen <nguyenquangchien@...>
- Date: Thu, 3 Jun 2010 15:25:10 +0800
Hi List,
I am trying to get the content of a web page. I tried socket.http.get but was not successful.
require('socket') -- this is ok
socket.http.get("
http://lua.org")
stdin:1: attempt to index field 'http' (a nil value)
stack traceback:
stdin:1: in main chunk
[C]: ?
Please tell me how to solve this. Many thanks!
Regards,
Nguyen Q Chien