From f64fa71b1ea2f8040a584516a2e51949162c54f0 Mon Sep 17 00:00:00 2001 From: MengYX Date: Thu, 23 Apr 2020 21:15:52 +0800 Subject: [PATCH] Remove Console Log --- src/decrypt/kwm.js | 1 - src/decrypt/qmc.js | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/decrypt/kwm.js b/src/decrypt/kwm.js index 71acda1..d2d0cc2 100644 --- a/src/decrypt/kwm.js +++ b/src/decrypt/kwm.js @@ -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; diff --git a/src/decrypt/qmc.js b/src/decrypt/qmc.js index e3c78b2..973a86d 100644 --- a/src/decrypt/qmc.js +++ b/src/decrypt/qmc.js @@ -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;