vimeo: fix parsing and resolution in filename

- all videos/audios should now be downloadable
- proper resolution is now displayed in basic and pretty filename styles
This commit is contained in:
wukko
2023-12-02 21:52:38 +06:00
parent 5bd50fd55f
commit 3e8c059a3a
3 changed files with 25 additions and 38 deletions

View File

@@ -145,10 +145,6 @@ export default function(r, host, audioFormat, isAudioOnly, lang, isAudioMuted, d
} else if (audioFormat === "best") {
audioFormat = "m4a";
copy = true;
if (!r.filenameAttributes && r.audioFilename.includes("twitterspaces")) {
audioFormat = "mp3"
copy = false
}
}
if (r.isM3U8 || host === "vimeo") {
copy = false;