1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-10-01 23:27:52 +08:00
parent 3dcb71b5a3
commit 3e1ef431a7
5 changed files with 9 additions and 11 deletions

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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) {