KingRan 2022-02-18 13:50:42 +08:00
parent 3526606ebf
commit e96238da52
2 changed files with 183 additions and 5 deletions

178
jd_10_4.js 100644

File diff suppressed because one or more lines are too long

View File

@ -4,14 +4,14 @@
============Quantumultx=============== ============Quantumultx===============
[task_local] [task_local]
#极速版抢卷 #极速版抢卷
58 59 6,9,14,17,20 * * * https://raw.githubusercontent.com/KingRan/JDJB/main/jd_5_2.js, tag=极速版抢卷, enabled=true 58 59 6,9,14,17,20 * * * https://raw.githubusercontent.com/KingRan/KR/main/jd_5_2.js, tag=极速版抢卷, enabled=true
================Loon============== ================Loon==============
[Script] [Script]
cron "58 59 6,9,14,17,20 * * *" script-path=https://raw.githubusercontent.com/KingRan/JDJB/main/jd_5_2.js,tag=极速版抢卷 cron "58 59 6,9,14,17,20 * * *" script-path=https://raw.githubusercontent.com/KingRan/KR/main/jd_5_2.js,tag=极速版抢卷
===============Surge================= ===============Surge=================
极速版抢卷 = type=cron,cronexp="58 59 6,9,14,17,20 * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/KingRan/JDJB/main/jd_5_2.js 极速版抢卷 = type=cron,cronexp="58 59 6,9,14,17,20 * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/KingRan/KR/main/jd_5_2.js
============小火箭========= ============小火箭=========
极速版抢卷 = type=cron,script-path=https://raw.githubusercontent.com/KingRan/JDJB/main/jd_5_2.js, cronexpr="58 59 6,9,14,17,20 * * *", timeout=3600, enable=true 极速版抢卷 = type=cron,script-path=https://raw.githubusercontent.com/KingRan/KR/main/jd_5_2.js, cronexpr="58 59 6,9,14,17,20 * * *", timeout=3600, enable=true
*/ */
const $ = new Env('抢极速版全品卷5-2'); const $ = new Env('抢极速版全品卷5-2');
const moment = require('moment'); const moment = require('moment');
@ -41,7 +41,7 @@ let wait = ms => new Promise(resolve => setTimeout(resolve, ms));
} }
await wait(100) await wait(100)
for (let j = 0; j < randomCount; ++j) for (let j = 0; j < randomCount; ++j)
for (let i = 0; i < 1; i++) { for (let i = 0; i < 7; i++) {
if (cookiesArr[i]) { if (cookiesArr[i]) {
cookie = cookiesArr[i]; cookie = cookiesArr[i];
$.UserName = decodeURIComponent(cookie.match(/pt_pin=([^; ]+)(?=;?)/) && cookie.match(/pt_pin=([^; ]+)(?=;?)/)[1]) $.UserName = decodeURIComponent(cookie.match(/pt_pin=([^; ]+)(?=;?)/) && cookie.match(/pt_pin=([^; ]+)(?=;?)/)[1])