From fee405edd055656dd63690e03a0d3e1fc0e96b4e Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sun, 1 Oct 2023 16:31:30 +0530 Subject: server: init opensubtitles --- lib/curl.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/curl.lua b/lib/curl.lua index bcbcfe4..0728def 100644 --- a/lib/curl.lua +++ b/lib/curl.lua @@ -21,8 +21,8 @@ local get = function (url, headr, args) local cmd, fetch, scode headr = util.table_merge(headr, def_headr) - cmd = 'curl -s --compressed --write-out %{http_code} ' .. - url .. gen_head(headr) + cmd = "curl -s --compressed --write-out %{http_code} '" .. + url .. "' --globoff --location " .. gen_head(headr) if args then cmd = cmd .. ' ' .. args end -- cgit v1.2.3