@@ -122,7 +122,10 @@ cron "10 7 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scrip
|
||||
cron "10 7 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_ms_redrain.js, tag=秒杀红包雨
|
||||
|
||||
# 金榜年终奖
|
||||
cron "10 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_split.js,tag=年终奖
|
||||
cron "10 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_split.js, tag=年终奖
|
||||
|
||||
# PUBG
|
||||
cron "10 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_pubg.js,tag=PUBG
|
||||
cron "10 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_pubg.js, tag=PUBG
|
||||
|
||||
# 京东直播
|
||||
cron "10-20/5 12 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_live.js, tag=京东直播
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
"0 0,9,11,13,15,17,19,20,21,23 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_live_redrain.js, tag=直播红包雨, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_redPacket.png",
|
||||
"10 0 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_apple_live.js, tag=苹果抽奖机, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_redPacket.png",
|
||||
"10 1 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_pubg.js, tag=PUBG, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_redPacket.png",
|
||||
"10-20/5 12 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_live.js, tag=京东直播, img-url= https://raw.githubusercontent.com/58xinian/icon/master/jd_live_redrain.png",
|
||||
"15 17 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/backUp/xmSports.js, tag=小米运动, img-url=https://raw.githubusercontent.com/58xinian/icon/master/xmyd.png"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -84,3 +84,5 @@
|
||||
33 2 * * * node /scripts/jd_car.js >> /scripts/logs/jd_car.log 2>&1
|
||||
# 领京豆额外奖励(每日可获得3京豆)
|
||||
33 4 * * * node /scripts/jd_bean_home.js >> /scripts/logs/jd_bean_home.log 2>&1
|
||||
# 京东直播(每日18豆)
|
||||
10-20/5 11 * * * node /scripts/jd_live.js >> /scripts/logs/jd_live.log 2>&1
|
||||
@@ -83,4 +83,6 @@
|
||||
# 京东汽车(签到满500赛点可兑换500京豆)
|
||||
33 2 * * * node /scripts/jd_car.js |ts >> /scripts/logs/jd_car.log 2>&1
|
||||
# 领京豆额外奖励(每日可获得3京豆)
|
||||
33 4 * * * node /scripts/jd_bean_home.js |ts >> /scripts/logs/jd_bean_home.log 2>&1
|
||||
33 4 * * * node /scripts/jd_bean_home.js |ts >> /scripts/logs/jd_bean_home.log 2>&1
|
||||
# 京东直播(每日18豆)
|
||||
10-20/5 11 * * * node /scripts/jd_live.js |ts >> /scripts/logs/jd_live.log 2>&1
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -32,8 +32,10 @@ if ($.isNode()) {
|
||||
})
|
||||
if (process.env.JD_DEBUG && process.env.JD_DEBUG === 'false') console.log = () => {};
|
||||
} else {
|
||||
cookiesArr.push($.getdata('CookieJD'));
|
||||
cookiesArr.push($.getdata('CookieJD2'));
|
||||
let cookiesData = $.getdata('CookiesJD') || "[]";
|
||||
cookiesData = jsonParse(cookiesData);
|
||||
cookiesArr = cookiesData.map(item => item.cookie);
|
||||
cookiesArr.push(...[$.getdata('CookieJD'), $.getdata('CookieJD2')]);
|
||||
}
|
||||
const JD_API_HOST = 'https://api.m.jd.com/client.action';
|
||||
!(async () => {
|
||||
@@ -377,6 +379,17 @@ function TotalBean() {
|
||||
})
|
||||
})
|
||||
}
|
||||
function jsonParse(str) {
|
||||
if (typeof str == "string") {
|
||||
try {
|
||||
return JSON.parse(str);
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
$.msg($.name, '', '不要在BoxJS手动复制粘贴修改cookie')
|
||||
return [];
|
||||
}
|
||||
}
|
||||
}
|
||||
function taskUrl(function_id, body = {}, appId = 'vip_h5') {
|
||||
return {
|
||||
url: `${JD_API_HOST}?functionId=${function_id}&appid=${appId}&body=${escape(JSON.stringify(body))}&_=${Date.now()}`,
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
14
jd_health.js
14
jd_health.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
14
jd_live.js
14
jd_live.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
16
jd_pigPet.js
16
jd_pigPet.js
File diff suppressed because one or more lines are too long
14
jd_pubg.js
14
jd_pubg.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
17
jd_shop.js
17
jd_shop.js
File diff suppressed because one or more lines are too long
163
jd_small_home.js
163
jd_small_home.js
File diff suppressed because one or more lines are too long
17
jd_speed.js
17
jd_speed.js
File diff suppressed because one or more lines are too long
14
jd_split.js
14
jd_split.js
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -40,12 +40,12 @@ inputs:
|
||||
cronExpression: "0 3 */1 * * * *"
|
||||
enable: true
|
||||
argument: jd_joy_feedPets&jd_joy&jd_moneyTree&jd_plantBean&jd_dreamFactory&jd_jdfactory
|
||||
- timer: # 宠汪汪积分兑换奖品# 宠汪汪偷好友积分与狗# 点点券
|
||||
- timer: # 宠汪汪积分兑换奖品# 宠汪汪偷好友积分与狗# 点点券# 京东直播18豆
|
||||
parameters:
|
||||
name: jd_joy_reward_jd_joy_steal_jd_necklace
|
||||
name: joy_reward_joy_steal_necklace_live
|
||||
cronExpression: "0 0 0-16/8,20 * * * *"
|
||||
enable: true
|
||||
argument: jd_joy_reward&jd_joy_steal&jd_necklace
|
||||
argument: jd_joy_reward&jd_joy_steal&jd_necklace&jd_live
|
||||
- timer: # 京东全民开红包 # 进店领豆 # 取关京东店铺商品# 京东抽奖机# 东东小窝# 秒杀红包雨# 健康抽奖机
|
||||
parameters:
|
||||
name: redPacket_shop_unsubscribe_lotteryMachine_small_home_ms_redrain_health
|
||||
|
||||
Reference in New Issue
Block a user