When using getAlbumProducts, some URLs return duplicated strings for the format prop.
For example:
bandcamp.getAlbumProducts('https://bandcamp.prspct.nl/album/the-hardcore-party-ep', function (error, albumProducts) {
console.log(albumProducts);
});
This consistently returns "Digital AlbumDigital Album" as the format. I'm not sure how this is happening, since the . buyItemPackageTitle element only contains this text once.
This seems to happen to certain URLs consistently, ex:
I'm using a random URL out of a set of 1000 for debugging in my app, and I'm seeing this ~5% of the time.
It also seems to happen to the name prop for some URLs, and I'm also seeing the string "Full Digital Discography" doubled.
When using getAlbumProducts, some URLs return duplicated strings for the format prop.
For example:
This consistently returns "Digital AlbumDigital Album" as the format. I'm not sure how this is happening, since the
. buyItemPackageTitleelement only contains this text once.This seems to happen to certain URLs consistently, ex:
I'm using a random URL out of a set of 1000 for debugging in my app, and I'm seeing this ~5% of the time.
It also seems to happen to the
nameprop for some URLs, and I'm also seeing the string "Full Digital Discography" doubled.