From 9ea6ff9c398a089eec10e84297d68365fe765753 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 2 Oct 2023 11:18:20 +0530 Subject: lib/curl: io.popen -> util.run --- server/subscene.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') diff --git a/server/subscene.lua b/server/subscene.lua index 6f52d53..304ffde 100644 --- a/server/subscene.lua +++ b/server/subscene.lua @@ -93,7 +93,7 @@ local title_search = function (key) local url, args, fetch, hcode, tries, title url = domain .. '/subtitles/searchbytitle' - args = "--data-raw query='" .. key .. "' " + args = { '--data-raw', 'query=' .. key } tries = 0 repeat -- cgit v1.2.3