Browse Source

Fix ncm unlock while no album pic #58

20230320
MengYX 5 years ago
parent
commit
7b9070f99d
No known key found for this signature in database GPG Key ID: E63F9C7303E8F604
  1. 3
      src/decrypt/ncm.js

3
src/decrypt/ncm.js

@ -132,7 +132,8 @@ function getMetaData(dataView, fileBuffer, offset) {
if (plainText.slice(0, labelIndex) === "dj") {
result = result.mainMusic;
}
result.albumPic = result.albumPic.replace("http:", "https:");
console.log(result);
if (!!result.albumPic) result.albumPic = result.albumPic.replace("http://", "https://");
return {data: result, offset: offset};
}

Loading…
Cancel
Save