1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-10-01 16:16:39 +08:00
parent 37fe49c53c
commit 64834ae7f9
9 changed files with 35 additions and 27 deletions

View File

@@ -49,7 +49,7 @@ async function startGetMusic(sleepTime) {
const songId = songIds[i];
console.log(`${i}/${songIds.length} | song: ${songId} | ${await statistics()}`);
try {
await songInfoUtils.get({ songId: songId });
await songInfoUtils.fetch({ songId: songId });
} catch (err) {
console.error(err);
}
@@ -69,7 +69,7 @@ async function startGetMusic(sleepTime) {
const albumId = albumIds[i];
console.log(`${i}/${albumIds.length} | album: ${albumId} | ${await statistics()}`);
try {
await albumInfoUtils.get({ albumId: albumId });
await albumInfoUtils.fetch({ albumId: albumId });
} catch (err) {
console.error(err);
}
@@ -89,7 +89,7 @@ async function startGetMusic(sleepTime) {
const artistId = artistIds[i];
console.log(`${i}/${artistIds.length} | artist: ${artistId} | ${await statistics()}`);
try {
await artistInfoUtils.get({ artistId: artistId });
await artistInfoUtils.fetch({ artistId: artistId });
} catch (err) {
console.error(err);
}