fixed an oopsie

This commit is contained in:
wukko 2022-11-08 22:14:10 +06:00
parent 364ee37b83
commit 4d06554256

View file

@ -76,7 +76,7 @@ export default async function(obj) {
let descItems = infoInitial.videoDetails.description.split("\n\n") let descItems = infoInitial.videoDetails.description.split("\n\n")
r.fileMetadata.album = descItems[2] r.fileMetadata.album = descItems[2]
r.fileMetadata.copyright = descItems[3] r.fileMetadata.copyright = descItems[3]
r.fileMetadata.date = descItems[4].replace("Released on: ", '').trim() if (descItems[4].startsWith("Released on:")) r.fileMetadata.date = descItems[4].replace("Released on: ", '').trim();
} }
return r return r
} else { } else {