1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee

hifini爬取完成

This commit is contained in:
程序员小墨 2022-10-29 18:34:54 +08:00
parent 5015c6007b
commit 6f359ae080
5 changed files with 11 additions and 8 deletions

9
.vscode/launch.json vendored
View File

@ -4,6 +4,15 @@
// 访: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "hifini_music node index",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}\\hifini_music\\index.js"
},
{
"type": "node",
"request": "launch",

View File

@ -1,5 +0,0 @@
cd ./netease_music
start auto.bat
cd ../hifini_music
start auto.bat
exit

View File

@ -1,5 +1,4 @@
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for hifini_forum

View File

@ -22,7 +22,7 @@ async function migrateIdsFromCheckToFetch(tableName, fieldName, insertSql = null
let ids = idsResult.map(row => row.id);
// console.log("ids", ids);
if (ids.length == 0) {
console.log(`${tableName} done.`);
// console.log(`${tableName} done.`);
break;
};

View File

@ -84,7 +84,7 @@ async function main(args) {
case 'assistant':
await assistantUtils.updateWaitTable();
await sleepUtils.sleep(10 * 1000);
await sleepUtils.sleep(20 * 1000);
break;
default:
console.log("utils参数不匹配退出");