update
This commit is contained in:
@@ -31,7 +31,7 @@ async function fetchAll() {
|
||||
for (let i = 0; i < albumIds.length; i++) {
|
||||
await global.checkIsExit();
|
||||
const albumId = albumIds[i];
|
||||
console.log(`${i}/${albumIds.length} | album: ${albumId} | ${await global.statistics()}`);
|
||||
console.log(`${i}/${albumIds.length} | album: ${albumId} | ${global.statistics}`);
|
||||
try {
|
||||
await fetch({ albumId: albumId });
|
||||
} catch (err) {
|
||||
|
@@ -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} | ${await global.statistics()}`);
|
||||
console.log(`${i}/${artistIds.length} | artist: ${artistId} | ${global.statistics}`);
|
||||
try {
|
||||
await fetch({ artistId: artistId });
|
||||
} catch (err) {
|
||||
|
@@ -16,7 +16,7 @@ async function fetchAll() {
|
||||
for (let i = 0; i < songIds.length; i++) {
|
||||
await global.checkIsExit();
|
||||
const songId = songIds[i];
|
||||
console.log(`${i}/${songIds.length} | lyric: ${songId} | ${await global.statistics()}`);
|
||||
console.log(`${i}/${songIds.length} | lyric: ${songId} | ${global.statistics}`);
|
||||
try {
|
||||
await fetch({ songId: songId });
|
||||
} catch (err) {
|
||||
|
@@ -35,7 +35,7 @@ async function fetchAll() {
|
||||
for (let i = 0; i < songIds.length; i++) {
|
||||
await global.checkIsExit();
|
||||
const songId = songIds[i];
|
||||
console.log(`${i}/${songIds.length} | song: ${songId} | ${await global.statistics()}`);
|
||||
console.log(`${i}/${songIds.length} | song: ${songId} | ${global.statistics}`);
|
||||
try {
|
||||
await fetch({ songId: songId });
|
||||
} catch (err) {
|
||||
|
Reference in New Issue
Block a user