hifini爬取完成
This commit is contained in:
parent
5015c6007b
commit
6f359ae080
9
.vscode/launch.json
vendored
9
.vscode/launch.json
vendored
@ -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",
|
||||
|
5
auto.bat
5
auto.bat
@ -1,5 +0,0 @@
|
||||
cd ./netease_music
|
||||
start auto.bat
|
||||
cd ../hifini_music
|
||||
start auto.bat
|
||||
exit
|
@ -1,5 +1,4 @@
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for hifini_forum
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
@ -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参数不匹配,退出");
|
||||
|
Loading…
Reference in New Issue
Block a user