mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 18:15:13 +08:00
🌴 Sync 2026-09-09 14:20:42
This commit is contained in:
1 parent
bdf27b2b83
commit
8838c030cd
77 files changed
+2534
-2032
No files matched your search
@@ -1979,7 +1979,7 @@ end
|
||||
local function curl(url, file, ua, mode, hwid)
|
||||
if not url or url == "" then return 22, 404 end
|
||||
local curl_args = {
|
||||
"-fskL", "-w %{http_code}", "--retry 3", "--connect-timeout 3", "-H 'Accept-Encoding: identity'"
|
||||
"-fskL", "-w %{http_code}", "--retry 3", "--connect-timeout 3", "-H 'Accept: */*'", "-H 'Accept-Encoding: identity'"
|
||||
}
|
||||
if ua and ua ~= "" and ua ~= "curl" then
|
||||
ua = (ua == "passwall2") and ("passwall2/" .. api.get_version()) or ua
|
||||
|
||||
Reference in new issue
Block a user