Remove Console Log
This commit is contained in:
parent
181a3c402f
commit
f64fa71b1e
@ -31,7 +31,6 @@ export async function Decrypt(file, raw_filename, raw_ext) {
|
||||
return dataString
|
||||
}
|
||||
|
||||
console.log(Uint8ArrayToString(oriData.slice(0x30, 0x38)))
|
||||
|
||||
let audioData = oriData.slice(0x400);
|
||||
let lenAudioData = audioData.length;
|
||||
|
@ -106,15 +106,13 @@ async function queryAlbumCoverImage(artist, title, album) {
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
}
|
||||
console.log(queriedSong);
|
||||
let imgUrl = "";
|
||||
if (!!queriedSong && !!queriedSong["album"]) {
|
||||
if (queriedSong["album"]["pmid"] !== undefined) {
|
||||
imgUrl = "https://y.gtimg.cn/music/photo_new/T002M000" + queriedSong["album"]["pmid"] + ".jpg"
|
||||
} else if (queriedSong["album"]["id"] !== undefined) {
|
||||
imgUrl = "https://imgcache.qq.com/music/photo/album/" +
|
||||
queriedSong["album"]["id"] % 100 +
|
||||
"/albumpic_" + queriedSong["album"]["id"] + "_0.jpg"
|
||||
queriedSong["album"]["id"] % 100 + "/albumpic_" + queriedSong["album"]["id"] + "_0.jpg"
|
||||
}
|
||||
}
|
||||
return imgUrl;
|
||||
|
Loading…
Reference in New Issue
Block a user