update
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user