vimeo: remove debugging (oops)

This commit is contained in:
wukko 2024-01-17 15:55:45 +06:00
parent 4d850c5d64
commit 58a0547def

View file

@ -66,7 +66,6 @@ export default async function(obj) {
let masterJSON_Video = masterJSON.video.sort((a, b) => Number(b.width) - Number(a.width)).filter(a => ["dash", "mp42"].includes(a['format'])),
bestVideo = masterJSON_Video[0];
console.log(masterJSON_Video)
if (Number(quality) < Number(resolutionMatch[bestVideo["width"]])) {
bestVideo = masterJSON_Video.find(i => resolutionMatch[i["width"]] === quality)
}