diff --git a/netease_music/src/getInfo/albumInfoUtils.js b/netease_music/src/getInfo/albumInfoUtils.js index 6cc70e8..100610f 100644 --- a/netease_music/src/getInfo/albumInfoUtils.js +++ b/netease_music/src/getInfo/albumInfoUtils.js @@ -35,7 +35,7 @@ async function fetchAll({ isUpdate = false }) { for (let i = 0; i < albumIds.length; i++) { await global.checkIsExit(); const albumId = albumIds[i]; - console.log(`${i}/${albumIds.length} | album: ${albumId}`); + console.log(`${i + 1}/${albumIds.length} | album: ${albumId}`); try { await fetch({ albumId: albumId, update: isUpdate }); } catch (err) { diff --git a/netease_music/src/getInfo/artistInfoUtils.js b/netease_music/src/getInfo/artistInfoUtils.js index 84069be..827ae4f 100644 --- a/netease_music/src/getInfo/artistInfoUtils.js +++ b/netease_music/src/getInfo/artistInfoUtils.js @@ -31,7 +31,7 @@ async function fetchAll() { for (let i = 0; i < artistIds.length; i++) { await global.checkIsExit(); const artistId = artistIds[i]; - console.log(`${i}/${artistIds.length} | artist: ${artistId}`); + console.log(`${i + 1}/${artistIds.length} | artist: ${artistId}`); try { await fetch({ artistId: artistId }); } catch (err) { @@ -72,9 +72,14 @@ async function fetch({ artistId, debug = false }) { // console.log(artistInfoDict); let image = //.exec(html)[1]; - let songListJSONString = /