Add explicit info

This commit is contained in:
mfcar 2023-02-22 12:48:12 +00:00
parent 8c84640484
commit c14d13440f
No known key found for this signature in database
9 changed files with 62 additions and 15 deletions

View file

@ -95,7 +95,8 @@ class iTunes {
cover: this.getCoverArtwork(data),
trackCount: data.trackCount,
feedUrl: data.feedUrl,
pageUrl: data.collectionViewUrl
pageUrl: data.collectionViewUrl,
explicit: data.trackExplicitness === 'explicit'
}
}
@ -105,4 +106,4 @@ class iTunes {
})
}
}
module.exports = iTunes
module.exports = iTunes