mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-05 16:00:05 +00:00
fixed an oopsie
This commit is contained in:
parent
364ee37b83
commit
4d06554256
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ export default async function(obj) {
|
|||
let descItems = infoInitial.videoDetails.description.split("\n\n")
|
||||
r.fileMetadata.album = descItems[2]
|
||||
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
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue