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")
|
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 {
|
||||||
|
|
Loading…
Reference in a new issue