mirror of https://github.com/lcpz/lain.git
issue #9 2nd attempt fix
This commit is contained in:
parent
bda7673ada
commit
165c5a17f4
|
@ -59,7 +59,7 @@ local function worker(args)
|
||||||
date = "N/A"
|
date = "N/A"
|
||||||
}
|
}
|
||||||
|
|
||||||
local f = io.popen(echo .. " | curl --connect-timeout 1 -fsm 1 " .. mpdh)
|
local f = io.popen(echo .. " | curl --connect-timeout 1 -fsm 3 " .. mpdh)
|
||||||
|
|
||||||
for line in f:lines() do
|
for line in f:lines() do
|
||||||
for k, v in string.gmatch(line, "([%w]+):[%s](.*)$") do
|
for k, v in string.gmatch(line, "([%w]+):[%s](.*)$") do
|
||||||
|
|
Loading…
Reference in New Issue