local http = require("socket.http") -- 5 Second timeout http.TIMEOUT = 5 -- The return parameters are in a different order from luup.inet.wget(...) result, status = http.request("https://h...content-available-to-author-only...d.com/live-prices/", "run=run")
Standard input is empty
Standard output is empty
lua5.3: prog.lua:1: module 'socket.http' not found: no field package.preload['socket.http'] no file '/usr/local/share/lua/5.3/socket/http.lua' no file '/usr/local/share/lua/5.3/socket/http/init.lua' no file '/usr/local/lib/lua/5.3/socket/http.lua' no file '/usr/local/lib/lua/5.3/socket/http/init.lua' no file '/usr/share/lua/5.3/socket/http.lua' no file '/usr/share/lua/5.3/socket/http/init.lua' no file './socket/http.lua' no file './socket/http/init.lua' no file '/usr/local/lib/lua/5.3/socket/http.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.3/socket/http.so' no file '/usr/lib/lua/5.3/socket/http.so' no file '/usr/local/lib/lua/5.3/loadall.so' no file './socket/http.so' no file '/usr/local/lib/lua/5.3/socket.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.3/socket.so' no file '/usr/lib/lua/5.3/socket.so' no file '/usr/local/lib/lua/5.3/loadall.so' no file './socket.so' stack traceback: [C]: in function 'require' prog.lua:1: in main chunk [C]: in ?