更新
This commit is contained in:
parent
115fe1033e
commit
01a57db73e
@ -29,7 +29,7 @@ local function convertAndPlay()
|
|||||||
|
|
||||||
-- 读取响应 / Read response
|
-- 读取响应 / Read response
|
||||||
local responseBody = response.readAll()
|
local responseBody = response.readAll()
|
||||||
response.close()
|
|
||||||
|
|
||||||
-- HTTP状态码检查 / HTTP status check
|
-- HTTP状态码检查 / HTTP status check
|
||||||
local statusCode = response.getResponseCode()
|
local statusCode = response.getResponseCode()
|
||||||
@ -50,6 +50,7 @@ local function convertAndPlay()
|
|||||||
printError("\nConversion failed: "..(responseData.error or "no error info"))
|
printError("\nConversion failed: "..(responseData.error or "no error info"))
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
response.close()
|
||||||
|
|
||||||
-- ===== 5. 播放音频 / Play audio =====
|
-- ===== 5. 播放音频 / Play audio =====
|
||||||
print("\nConversion successful! Download URL:")
|
print("\nConversion successful! Download URL:")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user