🤞 Sync 2026-10-04 14:55:43

This commit is contained in:
github-actions[bot] committed 2026-10-04 14:55:43 +08:00
1 parent d0a3b136c4
commit d132e566f2
5 files changed
+34 -23

No files matched your search

@@ -1776,7 +1776,7 @@ local function curl(url, file, ua, mode)
}
ua = (ua and ua ~= "") and ua or "passwall"
ua = (ua == "passwall") and ("passwall/" .. api.get_version()) or ua
ua = (ua == "passwall") and ("passwall/" .. api.get_version():match("^([^-]+)")) or ua
curl_args[#curl_args + 1] = '--user-agent "' .. ua .. '"'
local cookie_file = "/tmp/cookie_" .. api.gen_random_char(5)