mirror of https://github.com/KingRan/KR.git
parent
3526606ebf
commit
e96238da52
File diff suppressed because one or more lines are too long
10
jd_5_2.js
10
jd_5_2.js
|
@ -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])
|
||||||
|
|
Loading…
Reference in New Issue