aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-10-02 11:18:20 +0530
committersinanmohd <sinan@sinanmohd.com>2023-10-02 11:33:34 +0530
commit9ea6ff9c398a089eec10e84297d68365fe765753 (patch)
tree2b1ff8743bfc6fe1e8cc2c329489d131d8331176 /server
parent8f0e30c4a23de4757232ec168c100f5fd1d302db (diff)
lib/curl: io.popen -> util.run
Diffstat (limited to 'server')
-rw-r--r--server/subscene.lua2
1 files changed, 1 insertions, 1 deletions
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