东东工厂,不是京喜工厂
目前不知免费产生的电量瓶颈是多少。 故建议5小时运行一次 开会员任务和去京东首页点击“数码电器任务目前未做 不会每次运行脚本都投入电力 只有当心仪的商品存在,并且收集起来的电量满足当前商品所需电力,才投入
This commit is contained in:
@ -58,4 +58,6 @@
|
|||||||
# 京喜工厂
|
# 京喜工厂
|
||||||
20 * * * * node /scripts/jd_dreamFactory.js >> /scripts/logs/jd_dreamFactory.log 2>&1
|
20 * * * * node /scripts/jd_dreamFactory.js >> /scripts/logs/jd_dreamFactory.log 2>&1
|
||||||
# 东东小窝
|
# 东东小窝
|
||||||
16 6 * * * node /scripts/jd_small_home.js >> /scripts/logs/jd_small_home.log 2>&1
|
16 6 * * * node /scripts/jd_small_home.js >> /scripts/logs/jd_small_home.log 2>&1
|
||||||
|
# 东东工厂
|
||||||
|
36 2 * * * node /scripts/jd_jdfactory.js >> /scripts/logs/jd_jdfactory.log 2>&1
|
@ -58,4 +58,6 @@
|
|||||||
# 京喜工厂
|
# 京喜工厂
|
||||||
20 * * * * node /scripts/jd_dreamFactory.js |ts >> /scripts/logs/jd_dreamFactory.log 2>&1
|
20 * * * * node /scripts/jd_dreamFactory.js |ts >> /scripts/logs/jd_dreamFactory.log 2>&1
|
||||||
# 东东小窝
|
# 东东小窝
|
||||||
16 6 * * * node /scripts/jd_small_home.js |ts >> /scripts/logs/jd_small_home.log 2>&1
|
16 6 * * * node /scripts/jd_small_home.js |ts >> /scripts/logs/jd_small_home.log 2>&1
|
||||||
|
# 东东工厂
|
||||||
|
36 2 * * * node /scripts/jd_jdfactory.js |ts >> /scripts/logs/jd_jdfactory.log 2>&1
|
522
jd_jdfactory.js
Normal file
522
jd_jdfactory.js
Normal file
File diff suppressed because one or more lines are too long
@ -67,7 +67,7 @@ const JD_API_HOST = 'https://api.m.jd.com/api';
|
|||||||
}
|
}
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
await JD818();
|
await jd_necklace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})()
|
})()
|
||||||
@ -77,7 +77,7 @@ const JD_API_HOST = 'https://api.m.jd.com/api';
|
|||||||
.finally(() => {
|
.finally(() => {
|
||||||
$.done();
|
$.done();
|
||||||
})
|
})
|
||||||
async function JD818() {
|
async function jd_necklace() {
|
||||||
await necklace_homePage();
|
await necklace_homePage();
|
||||||
await doTask();
|
await doTask();
|
||||||
await necklace_homePage();
|
await necklace_homePage();
|
||||||
|
Reference in New Issue
Block a user