lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

 

I am new to Lua, so please bear with me. Does anyone have an example lua script that will scrape a web page e.g extract the video titles from www.youtube.com.

 

I have tried using http_get(http://www.youtube.com) but get the following error:

 

Attempt to call field ‘http_get’ (a nil value)

 

I have had a look in the http.lua module and this function doesn’t exist.

 

Any help would be extremely appreciated.

 

Kind Regards,

 

Sam.