api/vimeo: add subtitle parsing from the mobile api

This commit is contained in:
wukko
2025-06-20 18:21:00 +06:00
parent a5838f3c05
commit a44bea6b50
3 changed files with 25 additions and 3 deletions

View File

@@ -145,7 +145,9 @@ export default function({
case "vimeo":
if (Array.isArray(r.urls)) {
params = { type: "merge" }
params = { type: "merge" };
} else if (r.subtitles) {
params = { type: "remux" };
} else {
responseType = "redirect";
}