From f0f59ed86fbe4585c13c9eff6cd6797c544c7854 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sat, 27 May 2023 21:33:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyAliPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyAliPublic.js | 1 + 1 file changed, 1 insertion(+) diff --git a/SrcJyAliPublic.js b/SrcJyAliPublic.js index 40c716d1..b8f9a468 100644 --- a/SrcJyAliPublic.js +++ b/SrcJyAliPublic.js @@ -128,6 +128,7 @@ function getSubtitle(share_id,sub_file_id,share_pwd){ headers["x-share-token"] = sharetoken; let data = {"expire_sec":600,"file_id":sub_file_id,"share_id":share_id}; let downurl = JSON.parse(request("https://api.aliyundrive.com/v2/file/get_share_link_download_url", { headers: headers, body: data, timeout: 3000 })).download_url; + return downurl; log(downurl); let subfile = 'hiker://files/_cache/subtitles/'+sub_file_id+'.srt'; downloadFile(downurl, subfile, {"referer": "https://www.aliyundrive.com/"})