api/tiktok: add support for subtitles

This commit is contained in:
wukko
2025-06-20 20:07:50 +06:00
parent aff2d22edc
commit 630e4a6e0d
3 changed files with 23 additions and 1 deletions

View File

@@ -169,9 +169,14 @@ export default function({
}
break;
case "tiktok":
params = {
type: r.subtitles ? "remux" : "proxy"
};
break;
case "ok":
case "vk":
case "tiktok":
case "xiaohongshu":
params = { type: "proxy" };
break;