Update dwnc.js

This commit is contained in:
smallfawn
2023-05-07 12:27:28 +08:00
committed by GitHub
parent bfb331a346
commit 2e9286de4f

View File

@@ -37,6 +37,7 @@ let UserAgent = 'Mozilla/5.0 (Linux; Android 10; MI 8 Lite Build/QKQ1.190910.002
//--------------------------------------------------------- //---------------------------------------------------------
async function start() { async function start() {
console.log(`获取首账号助力码`);
taskall = []; taskall = [];
for (let user of userList) { for (let user of userList) {
if (user.index == 1) { if (user.index == 1) {
@@ -45,6 +46,8 @@ async function start() {
} }
} }
await Promise.all(taskall); await Promise.all(taskall);
console.log(shareCodeArr[0]);
shareCodeArr[0] = getMiddleValue('œ', 'œ', shareCodeArr[0])
console.log('\n================== 奖励 ==================\n'); console.log('\n================== 奖励 ==================\n');
taskall = []; taskall = [];
for (let user of userList) { for (let user of userList) {