mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-05 07:49:58 +00:00
oh
This commit is contained in:
parent
2929b9535f
commit
a15558bc3f
1 changed files with 3 additions and 3 deletions
|
@ -67,10 +67,10 @@ export default async function(o) {
|
|||
}
|
||||
if (info.basic_info.short_description && info.basic_info.short_description.startsWith("Provided to YouTube by")) {
|
||||
let descItems = info.basic_info.short_description.split("\n\n");
|
||||
r.fileMetadata.album = descItems[2];
|
||||
r.fileMetadata.copyright = descItems[3];
|
||||
fileMetadata.album = descItems[2];
|
||||
fileMetadata.copyright = descItems[3];
|
||||
if (descItems[4].startsWith("Released on:")) {
|
||||
r.fileMetadata.date = descItems[4].replace("Released on: ", '').trim()
|
||||
fileMetadata.date = descItems[4].replace("Released on: ", '').trim()
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue