From 20a53ce97ac53bc9da5917e5c24ea4fc87ab80a1 Mon Sep 17 00:00:00 2001 From: Sadman Anik <81039510+Sadman-11@users.noreply.github.com> Date: Mon, 25 Dec 2023 13:42:44 +0600 Subject: [PATCH] Update tik.js `tt` switched to `s_tt` --- scripts/cmds/tik.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cmds/tik.js b/scripts/cmds/tik.js index b4040659fc..9262dab55e 100644 --- a/scripts/cmds/tik.js +++ b/scripts/cmds/tik.js @@ -124,7 +124,7 @@ module.exports = { async function query(url, isMp3 = false) { const res = await axios.get("https://ssstik.io/en"); - const tt = res.data.split(`"tt:'`)[1].split(`'"`)[0]; + const tt = res.data.split(`s_tt = '`)[1].split(`',`)[0]; const { data: result } = await axios({ url: "https://ssstik.io/abc?url=dl", method: "POST", @@ -162,4 +162,4 @@ async function query(url, isMp3 = false) { } format.downloadUrls = $(allUrls[isMp3 ? allUrls.length - 1 : 0]).attr('href'); return format; -} \ No newline at end of file +}