luci-app-ssr-plus: subscribe UA change to chrome 44

This commit is contained in:
lean 2020-03-16 13:59:03 +08:00 committed by CN_SZTL
parent 8f2f3f23aa
commit 38426c20b7
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -274,7 +274,7 @@ local function processData(szType, content)
end
-- wget
local function wget(url)
local stdout = luci.sys.exec('wget-ssl --user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36" --no-check-certificate -t 3 -T 10 -O- "' .. url .. '"')
local stdout = luci.sys.exec('wget-ssl --user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36" --no-check-certificate -t 3 -T 10 -O- "' .. url .. '"')
return trim(stdout)
end