925 Commits
main ... master

Author SHA1 Message Date
LXK9301
2f6f6bd244 Merge pull request #44 from shylocks/master
增加小镇店铺签到
2021-01-18 14:19:04 +08:00
shylocks
15e4822e16 增加小镇活动 2021-01-18 14:14:36 +08:00
LXK9301
de7774668e Merge pull request #27 from qiangxinglin/force
用rebase以预防潜在的force push
2021-01-18 14:11:54 +08:00
LXK9301
e3a532a047 Merge pull request #41 from Jone2008/patch-2
Update USER_AGENTS.js
2021-01-18 13:35:53 +08:00
Jone2008
bb1fad00c9 Update USER_AGENTS.js 2021-01-18 13:34:51 +08:00
lxk0301
d7a5ac4187 update 2021-01-18 12:45:52 +08:00
lxk0301
beebecfdd0 update 2021-01-18 11:19:50 +08:00
shylocks
ce71040c3b Merge branch 'master' of https://github.com/shylocks/jd_scripts 2021-01-18 11:01:43 +08:00
shylocks
cb55f76875 Merge pull request #2 from LXK9301/master
Master
2021-01-18 11:01:26 +08:00
lxk0301
682a658919 update 2021-01-18 10:42:03 +08:00
lxk0301
972ef66d7e Merge remote-tracking branch 'origin/master' 2021-01-18 10:34:42 +08:00
lxk0301
7056f8e1be fix 手机端出错问题 2021-01-18 10:34:08 +08:00
shylocks
8c000ee4ea Merge branch 'master' of https://github.com/shylocks/jd_scripts 2021-01-18 10:31:51 +08:00
shylocks
766475247f Merge pull request #1 from LXK9301/master
Master
2021-01-18 10:30:39 +08:00
LXK9301
e589a00711 Merge pull request #29 from DoveBoy/patch-1
云函数新增炸年兽task、集爆竹
2021-01-18 10:28:51 +08:00
LXK9301
a8f73fe7e6 Merge pull request #30 from DoveBoy/patch-2
云函数新增京东炸年兽互助码secret
2021-01-18 10:28:36 +08:00
DoveBoy
8ecad95387 云函数新增京东炸年兽互助码secret
云函数新增京东炸年兽互助码secret
2021-01-18 10:27:07 +08:00
lxk0301
b13f5da14c 炸年兽,添加互助,邀请码环境变量为 JDNIAN_SHARECODES,一人一天五次助力机会 2021-01-18 10:22:33 +08:00
DoveBoy
e925ded490 Update serverless.yml 2021-01-18 10:17:22 +08:00
DoveBoy
eb962eb75b 云函数新增炸年兽task、集爆竹
云函数新增炸年兽task、集爆竹
2021-01-18 10:10:28 +08:00
lxk0301
51c5900ca6 docker 添加炸年兽以及收集每秒产生的爆竹脚本 2021-01-18 10:02:38 +08:00
shylocks
0b72c39f78 Merge branch 'master' of https://github.com/shylocks/jd_scripts 2021-01-18 09:54:26 +08:00
LXK9301
271be2cb3f Merge pull request #28 from shylocks/master
京东炸年兽🧨
2021-01-18 09:38:26 +08:00
shylocks
afbe083185 Create jd_nian.js 2021-01-18 09:34:32 +08:00
Xinglin Qiang
4c672e93d8 用rebase以预防潜在的force push 2021-01-18 08:35:33 +08:00
LXK9301
3056271a08 Update jd_nianCollect.js 2021-01-18 08:34:03 +08:00
LXK9301
41ed4721b7 Update and rename jd_nianCollect.j to jd_nianCollect.js 2021-01-18 08:33:35 +08:00
LXK9301
ccb8149b86 Merge pull request #26 from DoveBoy/patch-2
迁移炸年兽集爆竹脚本
2021-01-18 08:32:35 +08:00
DoveBoy
1a4381bf75 迁移炸年兽集爆竹脚本
迁移炸年兽集爆竹脚本
2021-01-18 08:28:20 +08:00
LXK9301
d7193d0645 Update jd_collectProduceScore.js 2021-01-18 04:23:07 +08:00
LXK9301
42a08acb04 Update jd_collectProduceScore.js 2021-01-18 04:15:09 +08:00
LXK9301
ed6f681c0f 京东炸年兽领爆竹🧨
仅仅是收集一下京东炸年兽领金币每秒产生的爆竹🧨
2021-01-18 04:12:05 +08:00
lxk0301
532ef214c6 update 2021-01-17 21:58:07 +08:00
lxk0301
be2878e580 修复东东工厂做任务提示 点太快了的问题 2021-01-17 21:51:45 +08:00
lxk0301
4c437b678b update 2021-01-17 21:22:48 +08:00
lxk0301
ba7d8dde8b update 2021-01-17 20:25:56 +08:00
lxk0301
635f7ab3b9 update 2021-01-17 14:29:30 +08:00
lxk0301
0faa66b218 jd_joy_steal.js偷好友积分与狗粮脚本优化,现不会先查询所有的好友再执行偷积分。而是查询一页好友执行一次,依次执行。达到上限即跳出 2021-01-17 14:24:54 +08:00
lxk0301
d456d041c6 fix 2021-01-17 14:19:07 +08:00
lxk0301
cbd9f538ab fix 2021-01-17 13:12:27 +08:00
lxk0301
3400347265 update 2021-01-17 12:22:41 +08:00
lxk0301
1f01650cb5 update 2021-01-17 12:06:03 +08:00
lxk0301
9f9b3ac6f9 京喜工厂多个账号参加第一个账号开的团 2021-01-17 00:26:58 +08:00
lxk0301
ecdd0b2cae 种豆,萌宠,水果等脚本iOS端也支持多账号运行 2021-01-17 00:25:37 +08:00
lxk0301
a2942438e4 Merge remote-tracking branch 'origin/master' 2021-01-16 23:53:47 +08:00
lxk0301
5727b3d476 fix 2021-01-16 23:53:20 +08:00
LXK9301
82d10385ef Merge pull request #11 from iouAkira/patch-1
修复bug
2021-01-16 22:49:54 +08:00
Akira
b541dc251b Update docker_entrypoint.sh 2021-01-16 22:47:33 +08:00
Akira
58aea5dfc1 修正bug 2021-01-16 22:43:41 +08:00
LXK9301
3de0c83636 Merge pull request #8 from iouAkira/master
修改docker使用说明
2021-01-16 22:37:58 +08:00
Akira
a41473377f 修改docker使用说明 2021-01-16 22:30:22 +08:00
LXK9301
0bacf0fa64 Merge pull request #7 from iouAkira/patch-1
Update docker_build.yml
2021-01-16 22:07:56 +08:00
Akira
be258e3597 Update docker_build.yml 2021-01-16 22:05:32 +08:00
LXK9301
cfd16f2c77 Update docker_build.yml 2021-01-16 22:02:26 +08:00
LXK9301
d2cf99ddc5 Update README.md 2021-01-16 22:00:55 +08:00
LXK9301
a054e6c14a Merge pull request #6 from iouAkira/master
调整dockerfile及构建仓库地址
2021-01-16 21:42:35 +08:00
Akira
22c204ed58 调整dockerfile及构建仓库地址 2021-01-16 21:39:54 +08:00
lxk0301
9cc3496f59 增加新脚本的手机端模块订阅 2021-01-16 20:09:19 +08:00
lxk0301
c175bbb4ee fix 2021-01-16 19:52:20 +08:00
LXK9301
e2659e5b57 Update lxk0301_Task.sgmodule.sgmodule 2021-01-16 18:44:21 +08:00
LXK9301
ab1224af70 Update README.md
测试同步到gitee
2021-01-16 17:21:34 +08:00
LXK9301
7f01a1afbb Update README.md 2021-01-16 17:16:40 +08:00
lxk0301
82dab965b3 update 2021-01-16 17:10:19 +08:00
lxk0301
3d046e796f 解决萌宠以及种豆脚本部分账号火爆或者风控导致脚本执行中断情况 2021-01-16 16:04:48 +08:00
lxk0301
88a7dab59b fix 2021-01-15 19:19:52 +08:00
lxk0301
9c4b623bfe 兼容iOS 2021-01-15 16:46:06 +08:00
lxk0301
becba8180a Revert "Revert "优化收金币逻辑,8s收取一次金币,运行多账号时收获金币更多; 适当增加观看视频时长,减少开宝箱金币为0的概率""
This reverts commit 600212dd
2021-01-15 16:45:04 +08:00
lxk0301
600212ddab Revert "优化收金币逻辑,8s收取一次金币,运行多账号时收获金币更多; 适当增加观看视频时长,减少开宝箱金币为0的概率"
This reverts commit 9d1f38e1
2021-01-15 16:32:44 +08:00
lxk0301
8a8a53eb9b !25 [京东农场] 单个账号任务执行异常时发送消息通知,且跳过当前账号执行下个账号
Merge pull request !25 from 古月玄/master
2021-01-15 16:26:48 +08:00
lxk0301
1b69ef7ca8 update 2021-01-15 13:37:33 +08:00
lxk0301
bf384a990e update README.md. 2021-01-15 13:09:01 +08:00
lxk0301
f49bf46349 update 2021-01-15 13:02:32 +08:00
lxk0301
0ab775c0e8 update 2021-01-15 13:00:25 +08:00
guyuexuan
ffaca31376 [京东农场] 单个账号任务执行异常时发送消息通知,且跳过当前账号执行下个账号 2021-01-15 10:41:31 +08:00
lxk0301
62edfd2205 update README.md. 2021-01-15 10:01:29 +08:00
lxk0301
9ae5ea2e42 !21 优化收金币逻辑,8s收取一次金币,运行多账号时收获金币更多; 适当增加观看视频时长,减少开宝箱金币为0的概率
Merge pull request !21 from Dellear/N/A
2021-01-15 09:55:28 +08:00
Dellear
9d1f38e1ce 优化收金币逻辑,8s收取一次金币,运行多账号时收获金币更多; 适当增加观看视频时长,减少开宝箱金币为0的概率 2021-01-15 03:02:22 +08:00
lxk0301
3d83a8ef07 !14 update docker/Dockerfile.
Merge pull request !14 from Xinglin Qiang/N/A
2021-01-14 22:11:59 +08:00
lxk0301
fea16a29b7 !9 update QuantumultX/lxk0301_gallery.json.
Merge pull request !9 from 6ird/N/A
2021-01-14 22:11:34 +08:00
lxk0301
04ac46137e !13 update QuantumultX/lxk0301_gallery.json.
Merge pull request !13 from Hadoken/N/A
2021-01-14 22:09:38 +08:00
Xinglin Qiang
f50d86ec06 update docker/Dockerfile. 2021-01-14 18:44:55 +08:00
lxk0301
f021702be2 update 2021-01-14 17:59:50 +08:00
Hadoken
ef76499dcd update QuantumultX/lxk0301_gallery.json. 2021-01-14 16:14:30 +08:00
lxk0301
c6aa17a572 update 2021-01-14 16:06:13 +08:00
lxk0301
f973afe54a !11 [京喜农场] 忽略部分 logErr 日志 & notify 通知关闭时,通过 log 输出 message
Merge pull request !11 from 古月玄/master
2021-01-14 15:34:10 +08:00
guyuexuan
2c37fc3d40 [京喜农场] 每个用户 cookie 重置 notify 通知开关 2021-01-14 15:30:06 +08:00
guyuexuan
b946db58ae [京喜农场]
忽略部分 logErr 日志
notify 通知关闭时,通过 log 输出 message
2021-01-14 14:31:43 +08:00
lxk0301
36992c5efb update jdCookie.js. 2021-01-14 11:00:30 +08:00
6ird
88fb42e5b2 update QuantumultX/lxk0301_gallery.json. 2021-01-14 10:27:40 +08:00
shylocks
f34dbc1d8d Merge pull request #29 from lxk0301/master
Master
2021-01-13 23:26:33 +08:00
lxk0301
cd33b4f47e Update jd_dreamFactory.js 2021-01-13 23:11:33 +08:00
lxk0301
2c45a522e6 Update jd_family.js
暂时关闭通知
2021-01-13 21:52:29 +08:00
lxk0301
8f20d8e6e0 Update jd_family.js 2021-01-13 21:15:40 +08:00
lxk0301
b8eea7e952 Update jd_family.js 2021-01-13 19:37:39 +08:00
lxk0301
5fa86050b0 Merge pull request #650 from DoveBoy/patch-2
fix 说明部分404的问题,优化Cron
2021-01-13 19:13:03 +08:00
DoveBoy
ec73ba3533 fix 说明部分404的问题,优化Cron
fix 说明部分404的问题,优化Cron
2021-01-13 19:12:02 +08:00
lxk0301
e229712115 fix 2021-01-13 18:04:09 +08:00
lxk0301
b343b95a33 test 2021-01-13 17:44:07 +08:00
lxk0301
2ed376db26 test 2021-01-13 17:42:56 +08:00
lxk0301
9ffd90a847 添加timeout超时 2021-01-13 17:18:51 +08:00
lxk0301
06f0cc589c Merge remote-tracking branch 'origin/master' 2021-01-13 17:06:59 +08:00
lxk0301
ad49508b74 添加timeout 2021-01-13 17:06:18 +08:00
lxk0301
52ea48c6e9 Merge pull request #647 from Jone2008/patch-3
Update jd_family.js
2021-01-13 16:46:15 +08:00
Jone2008
4f88532289 Update jd_family.js 2021-01-13 16:39:46 +08:00
lxk0301
a9ac33a1a0 添加当前京豆库存为空的打印提示 2021-01-13 16:31:16 +08:00
lxk0301
ddcd9dc4b1 docker添加京东家庭号 2021-01-13 16:19:02 +08:00
lxk0301
b096bc11b4 docker添加京东家庭号 2021-01-13 16:10:50 +08:00
lxk0301
26952bee2a Merge pull request #641 from DoveBoy/patch-2
云函数新增京东家庭号
2021-01-13 16:09:50 +08:00
lxk0301
b53a9ee7c7 Merge pull request #644 from FanchangWang/master
部分脚本 API 请求增加 timeout=3000,防止 API 请求超时导致进程僵死
2021-01-13 16:01:38 +08:00
guyuexuan
73e469fae9 API 请求超时由 3000 改为 10000 2021-01-13 15:50:26 +08:00
guyuexuan
9802d1f7d4 部分脚本 API 请求增加 timeout=3000,防止 API 请求超时导致进程僵死 2021-01-13 15:39:13 +08:00
DoveBoy
688a404289 云函数新增京东家庭号
云函数新增京东家庭号
2021-01-13 14:40:44 +08:00
lxk0301
1dfbe642b0 Merge pull request #639 from shylocks/master
京东家庭号
2021-01-13 14:10:27 +08:00
lxk0301
7a63bfbbef update 2021-01-13 14:09:47 +08:00
shylocks
fd07a7cefe 京东家庭号 2021-01-13 13:59:24 +08:00
shylocks
c0260e15b7 Merge pull request #27 from lxk0301/master
Master
2021-01-13 13:32:10 +08:00
lxk0301
686686de1b update 2021-01-13 13:05:51 +08:00
lxk0301
7d6d7f64ea 增加扫码获取京东cookie,此方式得到的cookie有效期为90天(实际待测试) 2021-01-13 12:58:53 +08:00
lxk0301
aab6a63224 Merge pull request #633 from shylocks/master
口袋书店加入购物车开关,与东东小窝共享环境变量
2021-01-13 12:40:53 +08:00
lxk0301
7959ab2fb8 update 2021-01-13 12:29:41 +08:00
lxk0301
1ea762d831 update 2021-01-13 12:29:22 +08:00
lxk0301
9802aeeb69 Merge pull request #635 from FanchangWang/master
[京喜农场] 增加 水果成熟提醒 & 其他变更(具体看描述)
2021-01-13 12:05:27 +08:00
guyuexuan
b9f74bcdd2 [京喜农场]
重置 答题答案选项 = 0
got 调用 API 增加 timeout=3000 防止 API 请求导致进程僵死
增加 水果成熟提醒
2021-01-13 12:02:19 +08:00
shylocks
0557261daa 领现金增加逛隐藏任务得随机助力 2021-01-13 10:39:16 +08:00
shylocks
d0433b71ee 修复问题 2021-01-13 10:30:47 +08:00
shylocks
95344c64d9 修复qx、loon、surge报错,增加助力码 2021-01-13 10:29:32 +08:00
shylocks
5accaa5c33 口袋书店加入购物车开关,与东东小窝共享环境变量 2021-01-13 10:28:00 +08:00
lxk0301
a1b15a1251 Merge pull request #632 from shylocks/master
Master
2021-01-13 10:25:13 +08:00
shylocks
ec17c50fc2 年货节自动抽奖 2021-01-13 10:20:41 +08:00
shylocks
8083bf78f2 年货节不做一键加入购物车 2021-01-13 10:14:13 +08:00
shylocks
6b9351baeb 增加逛一逛任务,加大任务延时 2021-01-13 09:58:25 +08:00
shylocks
0cb255fd3c Merge pull request #26 from lxk0301/master
Master
2021-01-13 09:33:08 +08:00
lxk0301
ed4a3417b9 Merge remote-tracking branch 'origin/master' 2021-01-13 09:32:15 +08:00
lxk0301
8b4c4e0b7d update 2021-01-13 09:31:54 +08:00
lxk0301
64e05793f9 Merge pull request #630 from FanchangWang/master
[京喜农场] 预测天数采用进一取整 & 捕获随机助力 API 异常
2021-01-12 23:15:21 +08:00
guyuexuan
93d4274f0d [京喜农场]
变更 预测天数采用进一取整
新增 捕获随机助力 API 异常(防止 API 异常导致脚本终止执行)
2021-01-12 18:40:11 +08:00
lxk0301
f9293c88b4 Merge pull request #629 from an0na/patch-3
QX gallery增加最近的最新活动配置
2021-01-12 18:18:46 +08:00
an0na
fdc13f628d QX gallery增加最近的最新活动配置 2021-01-12 17:06:23 +08:00
lxk0301
bfce225e3d Merge pull request #628 from shylocks/master
修改提示
2021-01-12 16:05:54 +08:00
shylocks
936db4358b 修改提示 2021-01-12 15:57:47 +08:00
lxk0301
abf6d1bedb Merge pull request #621 from DoveBoy/patch-1
fix 因resolve conflict丢失的签到领现金secrect
2021-01-12 15:03:24 +08:00
lxk0301
b932572d1d Merge pull request #627 from DoveBoy/patch-2
添加京喜农场获取种子token的说明
2021-01-12 15:03:00 +08:00
DoveBoy
db18868540 添加京喜农场获取种子token的说明
添加京喜农场获取种子token的说明
2021-01-12 14:46:54 +08:00
lxk0301
a6e255e45a delete test2.js 2021-01-12 14:20:35 +08:00
lxk0301
5e487e5437 在未使用环境变量自定义的前提下,云端添加使用随机UA功能 2021-01-12 14:01:32 +08:00
lxk0301
b839942f83 Merge remote-tracking branch 'origin/master' 2021-01-12 12:43:52 +08:00
lxk0301
b9db2dc373 fix 2021-01-12 12:43:40 +08:00
lxk0301
4e284b17fb Merge pull request #620 from Jone2008/patch-2
Update jd_nh.js
2021-01-12 12:38:57 +08:00
lxk0301
07a0f7ed7b docker1添加年货节脚本 2021-01-12 12:36:17 +08:00
lxk0301
31d2202cb1 Merge remote-tracking branch 'origin/master' 2021-01-12 12:33:11 +08:00
DoveBoy
395a181328 fix 因resolve conflict丢失的签到领现金secrect
fix 因resolve conflict丢失的签到领现金secrect
2021-01-12 12:32:41 +08:00
lxk0301
fb625f1028 fix 2021-01-12 12:30:02 +08:00
Jone2008
729a634a02 Update jd_nh.js 2021-01-12 12:28:24 +08:00
lxk0301
4085323a77 Merge pull request #616 from DoveBoy/patch-2
调整secret顺序保持与githubAction.md说明一致,方便后期维护
2021-01-12 11:54:31 +08:00
lxk0301
023e837af8 fix 2021-01-12 11:34:03 +08:00
DoveBoy
ff9db9f18e Merge branch 'master' into patch-2 2021-01-12 11:23:22 +08:00
lxk0301
d05752b4e7 Merge pull request #618 from DoveBoy/patch-3
云函数新增京东年货节
2021-01-12 11:18:51 +08:00
lxk0301
924c543914 Merge pull request #617 from shylocks/master
京东年货节
2021-01-12 11:18:29 +08:00
lxk0301
8e89e8aac7 Merge pull request #614 from DoveBoy/patch-1
云函数新增签到领现金secret
2021-01-12 11:17:07 +08:00
lxk0301
bf55aad2da Merge pull request #613 from lengmolehongyan/master
Fix log 本次运行获得金币NaN
2021-01-12 11:16:18 +08:00
DoveBoy
2ba2e1c65b 云函数新增京东年货节
云函数新增京东年货节
2021-01-12 11:14:33 +08:00
shylocks
79d615a632 京东年货节
用5000金币开盲盒必中200-300京豆,任务做完每天1000,5天换一次
2021-01-12 11:08:31 +08:00
DoveBoy
5aa062a12a 调整secret顺序保持与githubAction.md说明一致,方便后期维护
调整secret顺序保持与githubAction.md说明一致,方便后期维护
2021-01-12 11:03:49 +08:00
DoveBoy
b352334fae 云函数新增签到领现金secret
云函数新增签到领现金secret
2021-01-12 10:32:25 +08:00
Layne
7055931d3e Fix log 本次运行获得金币NaN 2021-01-12 10:23:06 +08:00
lxk0301
3cd9a88238 更新互助环境变量集合文档(签到领现金) 2021-01-12 10:21:23 +08:00
lxk0301
bafbbc24e8 签到领现金。已支持提供互助码相互帮助,环境变量为JD_CASH_SHARECODES 2021-01-12 10:19:53 +08:00
lxk0301
73da1902b7 Merge pull request #610 from DoveBoy/patch-2
update README.md
2021-01-12 08:40:00 +08:00
lxk0301
39785b718c Merge pull request #609 from DoveBoy/patch-1
云函数新增签到领现金、京喜签到
2021-01-12 08:39:31 +08:00
DoveBoy
6a0ca9ebf8 update README.md
update README.md
2021-01-12 08:35:40 +08:00
DoveBoy
454b445e42 云函数新增签到领现金、京喜签到
云函数新增签到领现金、京喜签到
2021-01-12 07:05:01 +08:00
lxk0301
0ed29ef763 Merge pull request #606 from shylocks/master
领现金增加逛会场
2021-01-12 00:29:10 +08:00
shylocks
b64df29c4a 增加逛会场 2021-01-12 00:25:33 +08:00
lxk0301
d489e952ba Merge pull request #603 from EvineDeng/master
更新docker的crontab:签到领现金、京喜app签到
2021-01-11 23:40:14 +08:00
EvineDeng
c64e23fccc 更新docker的crontab:签到领现金、京喜app签到 2021-01-11 23:37:06 +08:00
lxk0301
d91aae8ebf Merge pull request #602 from shylocks/master
修复京喜签到报错
2021-01-11 23:32:05 +08:00
shylocks
a111b1c265 修复报错 2021-01-11 23:30:41 +08:00
lxk0301
afc4eed930 Merge pull request #601 from shylocks/master
京喜签到+领现金京喜双签
2021-01-11 23:20:53 +08:00
shylocks
844c54928b 京喜签到+双签到
每天3分钱+京喜金币
2021-01-11 23:11:48 +08:00
lxk0301
cc94e95210 Merge pull request #600 from shylocks/master
修改cron
2021-01-11 22:47:29 +08:00
shylocks
bc11b99daa 修改cron 2021-01-11 22:46:14 +08:00
shylocks
53360b7697 Merge pull request #25 from lxk0301/master
Master
2021-01-11 22:38:35 +08:00
lxk0301
5f8e9a828e Merge pull request #599 from shylocks/master
领现金修复助力上限提示
2021-01-11 22:36:55 +08:00
lxk0301
2d3d9b881a Update lxk0301_Task.sgmodule.sgmodule 2021-01-11 22:36:27 +08:00
shylocks
83b1963c0f 修复助力上限提示 2021-01-11 22:35:06 +08:00
lxk0301
07b4aebed5 Merge pull request #597 from shylocks/master
签到领现金
2021-01-11 22:24:27 +08:00
shylocks
f479e52ad5 签到领现金 2021-01-11 22:08:03 +08:00
lxk0301
983fdc999c Merge pull request #592 from FanchangWang/master 2021-01-11 21:09:38 +08:00
guyuexuan
9c36eeb6fe [京喜农场] 增加 即将助力 share code log 日志 2021-01-11 20:45:28 +08:00
guyuexuan
ad168340d8 [京喜农场]
修改 提交助力到好友助力之前
2021-01-11 20:36:59 +08:00
lxk0301
f84f04bfa9 Merge pull request #591 from FanchangWang/master
[京喜农场] 添加 助力返回 ret 1021 cannot help self  最大次数限制(限制 3 次)
2021-01-11 19:46:31 +08:00
guyuexuan
9a4979b126 [京喜农场]
add 助力返回 ret 1021 cannot help self  最大次数限制(限制 3 次)
2021-01-11 19:38:02 +08:00
lxk0301
0016fea8d8 Update jd_jxnc.js 2021-01-11 19:08:01 +08:00
lxk0301
cab8872a7d Update jd_bookshop.js 2021-01-11 19:05:12 +08:00
lxk0301
9cf3c1268b Update jd_bookshop.js 2021-01-11 19:01:42 +08:00
lxk0301
300f9f619c Merge pull request #589 from DoveBoy/patch-1
云函数新增京喜农场
2021-01-11 18:48:08 +08:00
DoveBoy
29a439d2f7 云函数新增京喜农场
云函数新增京喜农场
2021-01-11 18:46:31 +08:00
lxk0301
e4031782c3 fix 2021-01-11 17:34:05 +08:00
lxk0301
b2a914afbe Merge pull request #583 from FanchangWang/master
[京喜农场] fix 助力码变量错误 & add 跳过自己账户的助力码
2021-01-11 17:29:51 +08:00
guyuexuan
01c13182c1 [京喜农场]
优化 【预测】逻辑,按照今日总获得水滴进行预测
2021-01-11 17:16:16 +08:00
guyuexuan
64eeb43e38 [京喜农场]
新增 消息推送级别
新增 离线期间获取水滴数量
变更 【预测】算法改为固定天数(后续还需要再优化一次)
优化 随机助力递归模式修改为循环
优化 助力自己 share code 时跳过
变更 1011 助力失败次数 nodejs 修改为 8 次 非 nodejs 3 次
2021-01-11 16:50:03 +08:00
guyuexuan
9f131a4da9 Merge branch 'master' of https://github.com/lxk0301/jd_scripts 2021-01-11 14:36:15 +08:00
lxk0301
96ff085403 Merge pull request #585 from Jone2008/patch-1
Update jd_jxnc.js
2021-01-11 12:30:57 +08:00
Jone2008
82612dfc9a Update jd_jxnc.js 2021-01-11 12:28:54 +08:00
lxk0301
911302df53 Merge pull request #579 from DoveBoy/patch-4
调整secret顺序,保持与githubAction.md一致,方便查看
2021-01-11 12:15:50 +08:00
guyuexuan
0ec588cc21 Merge branch 'master' of https://github.com/lxk0301/jd_scripts 2021-01-11 11:52:19 +08:00
guyuexuan
4d049f68a4 fix 京喜农场 助力码变量错误
add 跳过自己账户的助力码
2021-01-11 11:51:40 +08:00
DoveBoy
71471d38ac 调整secret顺序,保持与githubAction.md一致,方便查看
调整secret顺序,保持与githubAction.md一致,方便查看
2021-01-11 10:36:38 +08:00
shylocks
b577949b49 Merge pull request #24 from lxk0301/master
Master
2021-01-11 10:30:48 +08:00
lxk0301
c612a50311 Merge pull request #575 from DoveBoy/patch-1
update iCloud.md
2021-01-11 10:29:41 +08:00
lxk0301
e6a5c88223 Merge pull request #578 from DoveBoy/patch-3
云函数增加口袋书店secret
2021-01-11 10:29:17 +08:00
DoveBoy
2778d97fcb 云函数增加口袋书店secret
云函数增加口袋书店secret
2021-01-11 10:27:27 +08:00
lxk0301
ea8954922d 更新环境变量文档,新增BOOKSHOP_SHARECODES(京东书店) 2021-01-11 10:26:32 +08:00
lxk0301
89cac13c01 fix 2021-01-11 10:22:50 +08:00
lxk0301
25f2dd2187 Merge pull request #576 from an0na/patch-2
增加自定义助力码【BOOKSHOP_SHARECODES】
2021-01-11 10:22:12 +08:00
an0na
9df09a8fe6 增加自定义助力码【BOOKSHOP_SHARECODES】 2021-01-11 10:09:19 +08:00
DoveBoy
b052f8957c update iCloud.md
update iCloud.md
2021-01-11 09:28:20 +08:00
lxk0301
cf7a6b7079 Update jd_jxnc.js 2021-01-11 08:52:33 +08:00
lxk0301
57ee9bf5f3 Update jd_jxnc.js 2021-01-11 08:38:32 +08:00
lxk0301
01243be54d Merge pull request #574 from Dellear/master
统一展示效果
2021-01-11 08:34:58 +08:00
wangsq
7c2411cf1c 统一展示效果 2021-01-11 00:27:16 +08:00
lxk0301
34cb9f79dd Merge pull request #573 from Dellear/master
修复获取京喜农场active时的报错
2021-01-11 00:00:39 +08:00
wangsq
4ec33e5516 修复获取京喜农场active时的报错 2021-01-10 23:46:20 +08:00
lxk0301
22bc16cbef Merge pull request #572 from FanchangWang/master
[京喜农场] 修复 助力码变量错误 & 增加 预测成熟还需天数
2021-01-10 23:16:40 +08:00
guyuexuan
17485d3eee 替换环境变量名为 JXNC_SHARECODES (原 JXNCSHARECODES) 2021-01-10 23:13:47 +08:00
guyuexuan
eb86855072 fix 助力码变量错误
add 预测成熟还需天数
2021-01-10 22:53:58 +08:00
lxk0301
635e0e5ad3 Update jd_car_exchange.js 2021-01-10 20:06:43 +08:00
lxk0301
4ebc17e415 Merge pull request #569 from shylocks/master
口袋书店修复上架、收取金币、签到
2021-01-10 19:15:37 +08:00
shylocks
43b15c61c1 修复上架、收取金币、签到 2021-01-10 19:13:58 +08:00
lxk0301
252902d7ed Merge pull request #568 from DoveBoy/patch-2
云函数增加京喜农场secret
2021-01-10 19:09:21 +08:00
DoveBoy
7fcf559055 云函数增加京喜农场secret
云函数增加京喜农场secret
2021-01-10 19:03:37 +08:00
lxk0301
3cad89a0ae Merge pull request #567 from DoveBoy/patch-1
云函数调整口袋书店运行时间
2021-01-10 18:57:49 +08:00
lxk0301
6e56b333c9 Merge pull request #563 from xuthus5/master
支持酷推企微推送/邮件推送
2021-01-10 18:57:27 +08:00
lxk0301
5f672f53a5 Merge pull request #566 from shylocks/master
修复口袋书店qx、loon、surge报错,增加助力码
2021-01-10 18:56:30 +08:00
DoveBoy
b8a12763bf 云函数调整口袋书店运行时间
云函数调整口袋书店运行时间
2021-01-10 18:55:23 +08:00
lxk0301
4bf84d9b2d Merge pull request #565 from EvineDeng/master
1. 给Docker增加口袋书店、京喜农场的定时任务;2. 补充Readme的任务明细;3. 更新环境变量清单。
2021-01-10 18:53:59 +08:00
shylocks
a691726f0b 修复qx、loon、surge报错,增加助力码 2021-01-10 18:49:40 +08:00
EvineDeng
2db11905bd 1. 给Docker增加口袋书店、京喜农场的定时任务;2. 补充Readme的任务明细;3. 更新环境变量清单。 2021-01-10 18:39:55 +08:00
lxk0301
931bd1401d Merge pull request #564 from DoveBoy/patch-1
云函数新增口袋书店
2021-01-10 18:14:40 +08:00
DoveBoy
d047f4b612 云函数新增口袋书店
云函数新增口袋书店
2021-01-10 18:13:44 +08:00
Young Xu
46d68a5069 支持酷推企微推送/邮件推送 2021-01-10 17:24:08 +08:00
lxk0301
72752bddc8 Merge pull request #562 from shylocks/master
口袋书店
2021-01-10 17:14:49 +08:00
lxk0301
1654282a30 Merge pull request #561 from FanchangWang/master
恢复 jx_nc.cookie.js url 路径
2021-01-10 17:14:12 +08:00
shylocks
f2b9223d56 口袋书店 2021-01-10 16:38:59 +08:00
guyuexuan
75da056517 恢复 jx_nc.cookie.js url 路径
本来想把这个 js 一起搬运的,不过这个文件没啥变化,直接用 hundun 库的就行了
2021-01-10 14:31:46 +08:00
FanchangWang
3d66fa5d78 Merge pull request #4 from lxk0301/master
Master pull merge
2021-01-10 00:28:45 -06:00
lxk0301
790afb8a52 Merge pull request #552 from FanchangWang/master
jd_get_share_code.js 脚本增加京喜农场互助码获取
2021-01-10 14:23:40 +08:00
lxk0301
a4578c6001 Merge pull request #555 from Dellear/master
格子全部被占有且没有可以合并的JOY,只能回收低级的JOY
2021-01-10 14:11:42 +08:00
lxk0301
181377da61 Merge pull request #560 from iouAkira/patch-1
exclude jd_car_exchange.js
2021-01-10 14:08:36 +08:00
guyuexuan
45a3dcafb2 搬运京喜农场脚本
增加 nodejs token & shareCode 配置文件
处理多账号 token 未配置时可自动跳过此账号
2021-01-10 14:06:22 +08:00
FanchangWang
b68be2f4ac Merge pull request #3 from lxk0301/master
Master pull merge
2021-01-10 00:03:05 -06:00
Akira
56a8844e3e exclude jd_car_exchange.js
exclude jd_car_exchange.js from random delay task list
2021-01-10 13:26:18 +08:00
lxk0301
56a1350f5e Update jd_pet.js 2021-01-10 12:38:22 +08:00
lxk0301
0bfef60de2 Update jd_pet.js 2021-01-10 12:36:46 +08:00
shylocks
33c12de046 Merge pull request #23 from lxk0301/master
Master
2021-01-09 23:56:06 +08:00
lxk0301
6b10d1fac3 东东工厂新增售卖限时商品功能 2021-01-09 21:38:32 +08:00
lxk0301
ca7a65719b Merge pull request #557 from liandong00/patch-1
Update default_task.sh
2021-01-09 20:41:58 +08:00
wangsq
aa0227591b 没有34级JOY时才会执行回收 2021-01-09 17:57:51 +08:00
lxk0301
d50c138716 修复京喜工厂部分账号做任务火爆,导致任务做不完的情况 2021-01-09 17:50:28 +08:00
lxk0301
f83301ea76 添加延迟 2021-01-09 17:11:48 +08:00
lxk0301
a70731aa1f 修复京喜工厂 收取招工/劳模电力功能 2021-01-09 17:06:37 +08:00
lxk0301
45ec7d67e7 修复收取地下零件失效问题 2021-01-09 16:54:05 +08:00
lxk0301
ba18fa7a0d 修改:如果水滴换豆卡使用失败,则继续浇水 2021-01-09 14:13:52 +08:00
lxk0301
10f3969a47 之前nobady获取cookie的地址已经失效,弹窗提示地址更换成新的 https://bean.m.jd.com/bean/signIndex.action 2021-01-09 13:53:14 +08:00
liandong00
9c88bcb362 Update default_task.sh
修复本地自定义shell脚本的没执行的问题
2021-01-09 13:13:12 +08:00
lxk0301
5256cea999 东东超市 删除旧版本无用的功能 2021-01-09 12:30:33 +08:00
FanchangWang
106dde32a2 Merge pull request #2 from lxk0301/master
Master pull merge
2021-01-08 22:26:35 -06:00
lxk0301
026493153c Update jd_pet.js 2021-01-09 11:23:06 +08:00
wangsq
6ff8b8c9f8 判断是否可以合并,忽略掉34级JOY 2021-01-09 10:03:22 +08:00
wangsq
eeee7f7445 拼写错误 2021-01-09 01:52:05 +08:00
wangsq
8832f0d76c Merge remote-tracking branch 'origin/master' 2021-01-09 01:50:26 +08:00
wangsq
180b0e96ff 格子全部被占有且没有可以合并的JOY,只能回收低级的JOY 2021-01-09 01:47:40 +08:00
lxk0301
01d2383a7e Update jd_dreamFactory.js 2021-01-09 01:07:10 +08:00
lxk0301
7736846abb Update jd_dreamFactory.js
尝试修复领取电力火爆
2021-01-09 01:05:35 +08:00
shylocks
a2b7637d76 Merge pull request #22 from lxk0301/master
Master
2021-01-09 00:37:45 +08:00
lxk0301
af0291af42 东东超市 解锁新版本,添加升级与解锁店铺功能 2021-01-08 22:50:39 +08:00
lxk0301
8bc66f44f7 Merge remote-tracking branch 'origin/master' 2021-01-08 21:45:20 +08:00
lxk0301
72caa841a2 东东超市改版,增加领取店铺升级奖励,增加领取12小时一次的蓝币奖励 2021-01-08 21:45:05 +08:00
lxk0301
081afe95aa Merge pull request #553 from DoveBoy/patch-1
云函数去除过期的活动
2021-01-08 21:33:24 +08:00
lxk0301
edf2c91e0c update 2021-01-08 20:57:58 +08:00
DoveBoy
c717f75544 云函数去除过期的活动
云函数去除过期的活动
2021-01-08 18:41:25 +08:00
lxk0301
062de0d3c8 移除过期活动 2021-01-08 17:45:34 +08:00
guyuexuan
fbd4bb560c 增加京喜农场互助码获取 2021-01-08 15:30:28 +08:00
FanchangWang
56aaf1543b Merge pull request #1 from lxk0301/master
Master pull merge
2021-01-08 01:27:20 -06:00
lxk0301
0335bc2df1 更新 jd_get_share_code.js 顶部说明 2021-01-08 10:22:49 +08:00
lxk0301
600f61ae2b 更新 jd_get_share_code.js 顶部说明 2021-01-08 09:13:37 +08:00
lxk0301
7c63533e77 Merge pull request #549 from everbef0re/master
remove 404 scripts
2021-01-07 21:09:24 +08:00
everbef0re
312ae932cd remove 404 scripts 2021-01-07 21:05:49 +08:00
lxk0301
e8cb66e3cc Merge remote-tracking branch 'origin/master' 2021-01-07 18:08:37 +08:00
lxk0301
b5456d1593 东东超市添加 开店铺会员卡得蓝币任务(假入会) 2021-01-07 18:08:26 +08:00
lxk0301
e48e0f46c2 Merge pull request #545 from EvineDeng/master
增加汽车旅程赛点兑换金豆、导出所有互助码的定时任务
2021-01-07 14:10:04 +08:00
lxk0301
c6e686e415 修复 jd_joy_run.js邀请助力出现异常的bug(Env没深拷贝再做删除Content-Type操作的) 2021-01-07 14:05:50 +08:00
EvineDeng
28a8190cb8 增加汽车旅程赛点兑换金豆、导出所有互助码的定时任务 2021-01-07 13:36:42 +08:00
lxk0301
f8593fbc4a fix jd_bean_sign.js 2021-01-07 12:54:35 +08:00
lxk0301
abafb57039 Update lxk0301_Task.sgmodule.sgmodule 2021-01-06 23:30:28 +08:00
lxk0301
d93d63568b Merge pull request #541 from DoveBoy/patch-1
云函数新增京东汽车兑换
2021-01-06 23:25:33 +08:00
DoveBoy
30abc49f43 云函数新增京东汽车兑换
云函数新增京东汽车兑换
2021-01-06 23:22:57 +08:00
lxk0301
af51a8a437 Update qqread.js 2021-01-06 22:55:20 +08:00
lxk0301
fb36471218 Merge pull request #540 from shylocks/master
Master
2021-01-06 22:43:37 +08:00
shylocks
c17e748d19 修复报错 2021-01-06 22:33:34 +08:00
shylocks
32ce0df62c Merge pull request #21 from lxk0301/master
Master
2021-01-06 21:54:33 +08:00
lxk0301
24cd1d1ab7 修复 jd_joy_run.js邀请助力报错的问题 2021-01-06 16:20:10 +08:00
lxk0301
d11df09b91 fix jd_joy_run.js 2021-01-06 16:02:25 +08:00
lxk0301
3e72719e39 Merge pull request #537 from Huang28/master
增加一个选择推送消息类型,用图文消息直接填充素材库图片id的值,用卡片消息就填充0(就是数字零)
2021-01-06 13:49:10 +08:00
lxk0301
356b28e89a fix 2021-01-06 11:40:21 +08:00
lxk0301
6dbc6f0f2e 企鹅阅读单独开宝箱(修改自用),全部账号只通知一次 2021-01-06 10:53:02 +08:00
shylocks
f1d2f3549c 汽车兑换 2021-01-06 10:35:32 +08:00
lxk0301
92de39aa2d 企鹅阅读新增cookie过期提醒功能,一天只推送两次通知(自用) 2021-01-06 10:05:11 +08:00
lxk0301
79e1356542 修改兑换京豆成功后的弹窗显示 2021-01-06 09:26:10 +08:00
lxk0301
118e5d2e90 因东东萌宠1.6日好友助力功能下线。故暂时屏蔽好友互助功能。修复部分用户使用脚本出错 2021-01-06 09:20:23 +08:00
huang28
04bb9953c3 企业微信应用消息通知 增加一个选择推送消息类型
增加一个选择推送消息类型,用图文消息直接填充素材库图片id的值,用卡片消息就填写0(就是数字零)
2021-01-06 03:14:37 +08:00
huang28
bf299f31dc Update sendNotify.js
企业微信应用消息通知
增加一个选择推送消息类型,用图文消息直接填写素材库图片id的值,用卡片消息就填写0(就是数字零)
2021-01-06 03:10:22 +08:00
lxk0301
e8886ada54 Update jd_superMarket.js 2021-01-06 00:33:38 +08:00
huang28
877137ed48 Merge branch 'master' of https://github.com/Huang28/jd_scripts 2021-01-05 20:51:32 +08:00
lxk0301
c18a77773f Update qqread.js 2021-01-05 20:48:14 +08:00
huang28
9817e97988 1 2021-01-05 20:37:47 +08:00
lxk0301
a39dba49dd Update jd_crazy_joy_coin.js 2021-01-05 18:53:22 +08:00
lxk0301
5042901b9b 获取各类活动邀请码脚本添加cookie过期判断,否则脚本可能会执行出错中断 2021-01-05 18:04:26 +08:00
lxk0301
20d023a25b 获取各类活动邀请码脚本添加cookie过期判断,否则脚本可能会执行出错中断 2021-01-05 18:02:44 +08:00
lxk0301
baa74172cf Merge pull request #535 from shylocks/master
活动助力码在一个脚本打印
2021-01-05 17:40:23 +08:00
lxk0301
f53acf3aa4 改为Promise.all 2021-01-05 17:39:33 +08:00
lxk0301
748f36d05d debug 2021-01-05 15:19:15 +08:00
shylocks
83be464dcd 获取所有助力码 2021-01-05 13:23:34 +08:00
lxk0301
7604ff56c5 东东农场添加log记录 2021-01-05 12:44:30 +08:00
lxk0301
b5671dd54c delete 2021-01-05 10:27:22 +08:00
lxk0301
0bac2ee800 fix 2021-01-05 10:08:18 +08:00
lxk0301
c86c51ecf9 迁移 iCloud.md文件 2021-01-05 10:05:56 +08:00
lxk0301
e4cb8b7d19 update README.md 2021-01-05 10:00:14 +08:00
lxk0301
5019824093 更新 2021-01-05 09:41:24 +08:00
lxk0301
cdc1c465d1 移动过期脚本,迁移tencentscf.md到别的文件夹中 2021-01-05 09:39:24 +08:00
lxk0301
578f48d00c Merge remote-tracking branch 'origin/master' 2021-01-05 09:20:39 +08:00
lxk0301
8c45d35098 update jdCookie.js 2021-01-05 09:20:26 +08:00
lxk0301
8db741b2b5 Merge pull request #510 from DoveBoy/master
迁移过期的活动脚本
2021-01-05 08:39:12 +08:00
lxk0301
63efdb2e7a Merge pull request #531 from sxx1314/patch-1
修复企业微信 应用消息文章中的换行缺失
2021-01-05 08:38:37 +08:00
sxx1314
6ef92bc204 修复企业微信 应用消息文章中的换行缺失
- 修复企业微信 应用消息图文消息推送中换行缺失的问题
- 简单的替换了换行符,以后可以按照需求增加css等样式。
- 更换了图片id的issues说明链接
2021-01-05 00:53:50 +08:00
shylocks
277288bcf5 Merge pull request #20 from lxk0301/master
Master
2021-01-04 23:00:07 +08:00
lxk0301
ac0070cf78 update jdCookie.js 2021-01-04 17:22:19 +08:00
lxk0301
61f5836eaa update 2021-01-04 17:14:58 +08:00
lxk0301
bfde1ba6c1 debug 2021-01-04 13:51:16 +08:00
lxk0301
c983e3edfb debug 2021-01-04 13:47:35 +08:00
lxk0301
70565f3dcf fix 2021-01-04 13:08:29 +08:00
lxk0301
b03b33d0d5 update 2021-01-04 13:03:49 +08:00
lxk0301
f44b13ce8f 东东工厂添加判断,减少部分用户获取的数据不全导致脚本出错 2021-01-04 12:35:46 +08:00
lxk0301
ccfc99d588 Merge remote-tracking branch 'origin/master' 2021-01-04 12:22:29 +08:00
lxk0301
5d0dfb7f9a 修复东东小窝因装饰领京豆功能下线导致脚本出错 2021-01-04 12:22:11 +08:00
lxk0301
4959c74c5a Merge pull request #516 from iouAkira/master
增加自定义shell脚本
2021-01-03 00:09:14 +08:00
Akira
0be6ec39ef 增加自定义shell脚本自动mod 2021-01-02 23:27:27 +08:00
lxk0301
aeae18876e add 2021-01-02 21:42:52 +08:00
lxk0301
25f60ac51f Update lxk0301_Task.sgmodule.sgmodule 2021-01-02 10:46:09 +08:00
lxk0301
18fe344bf2 Update lxk0301_Task.sgmodule.sgmodule 2021-01-02 10:41:57 +08:00
lxk0301
afe55c1d81 Update jd_dreamFactory.js 2021-01-01 22:14:14 +08:00
lxk0301
12fd34b5c2 Update jd_joy_reward.js 2021-01-01 19:00:58 +08:00
lxk0301
a3cdaa120e 增加本地时间与京东服务器时间之差的显示 2021-01-01 18:46:08 +08:00
shylocks
397f094f99 Merge pull request #19 from lxk0301/master
Master
2021-01-01 18:21:25 +08:00
lxk0301
58c005a6c3 fix 2021-01-01 18:11:12 +08:00
lxk0301
9a4d5e1b9e Merge remote-tracking branch 'origin/master' 2021-01-01 18:10:29 +08:00
lxk0301
089fc421ef jd_crazy_joy_coin.js增加自定义购买等级功能,环境变量为 BUY_JPY_LEVEL,如果设置的购买等级大于最高可购买等级,则设置失效 2021-01-01 18:10:12 +08:00
DoveBoy
54d4574405 迁移过期的活动脚本
迁移过期的活动脚本
2021-01-01 17:22:45 +08:00
DoveBoy
e4bbe58c1a 迁移过期的活动脚本
迁移过期的活动脚本
2021-01-01 17:22:22 +08:00
DoveBoy
bad0ce51eb 迁移过期的活动脚本
迁移过期的活动脚本
2021-01-01 17:21:58 +08:00
DoveBoy
55bddcf2fa 迁移过期的活动脚本
迁移过期的活动脚本
2021-01-01 17:21:33 +08:00
DoveBoy
f43b9e00c8 迁移过期的活动脚本
迁移过期的活动脚本
2021-01-01 17:20:43 +08:00
lxk0301
7defaf0d93 Merge pull request #509 from DoveBoy/master
云函数重新添加有效的十元街活动
2021-01-01 17:18:45 +08:00
lxk0301
daa176d3f8 东东工厂 做任务增加延迟时间 2021-01-01 17:17:34 +08:00
DoveBoy
fa2caf7442 云函数重新添加有效的十元街活动
云函数重新添加有效的十元街活动
2021-01-01 17:12:32 +08:00
lxk0301
c6d04d2a65 Merge remote-tracking branch 'origin/master' 2021-01-01 17:01:32 +08:00
lxk0301
75012ed001 修复十元街签到得京豆脚本 2021-01-01 16:59:35 +08:00
lxk0301
e53d5e8e78 Merge pull request #506 from DoveBoy/patch-1
云函数去除过期的活动
2021-01-01 16:32:57 +08:00
lxk0301
a8b6c2e4b5 对于已过期活动的脚本,添加通知提醒 2021-01-01 16:30:51 +08:00
lxk0301
249c3e8cdd 健康抽奖机还能用 2021-01-01 15:57:39 +08:00
lxk0301
0192937145 Update crontab_list.sh
清除过期活动
2021-01-01 15:10:21 +08:00
DoveBoy
8087da0867 云函数去除过期的活动
云函数去除过期的活动
2021-01-01 10:33:55 +08:00
lxk0301
d705a2b063 Merge remote-tracking branch 'origin/master' 2020-12-31 18:04:12 +08:00
lxk0301
6261ba02e6 种豆得豆调整一下收取好友营养液的策略,在20点的时候,只需满足好友的数量达到2瓶即去收取,其他时间满足3瓶 2020-12-31 18:04:00 +08:00
lxk0301
41cde5cbdf Merge pull request #495 from sxx1314/patch-3
企业微信消息修改为图文消息(文章)
2020-12-31 16:47:27 +08:00
lxk0301
752aeb4368 调整京东汽车脚本的执行cron 2020-12-31 16:43:32 +08:00
lxk0301
7f7231c0f1 增大延迟时间 2020-12-31 14:43:32 +08:00
lxk0301
d9c72038e8 fix 2020-12-31 12:35:59 +08:00
lxk0301
6ceb5c1a5d 优化 2020-12-31 10:53:46 +08:00
sxx1314
9fb7d61119 企业微信消息修改为图文消息(文章)
- 改成了图文消息模式,原本的卡片信息只能显示512字节,并且看不了详情。
- 图文消息,可以设置图片和文章,并且描述也一样是512字节限制。但是可以点进去看文章详情。
- thumb_media_id  需要自己上传企业微信素材库之后才可以查询,必须设置。https://work.weixin.qq.com/api/doc/90000/90135/90253 
- 文章内容暂时用的 ${desp} ,测试用marked.js转换之后也不会换行,我也懒得自己写方法希望来个大神补上。
2020-12-31 07:45:24 +08:00
lxk0301
e350a46a5b Merge pull request #483 from Huang28/master
Update sendNotify.js
2020-12-30 17:52:26 +08:00
lxk0301
0c1ba86655 Merge pull request #479 from DoveBoy/patch-2
更新云函数教程
2020-12-29 09:08:41 +08:00
huang28
fc05eac95d Update sendNotify.js
企业微信应用消息的推送支持
2020-12-28 22:59:44 +08:00
DoveBoy
e0d37d2e12 更新云函数教程
更新云函数教程
2020-12-28 20:09:48 +08:00
lxk0301
14c659431b Update README.md 2020-12-28 18:25:47 +08:00
lxk0301
7698c8db80 Update crontab_list.sh 2020-12-27 14:10:28 +08:00
lxk0301
9584c6acf7 Update lxk0301_gallery.json 2020-12-27 14:09:37 +08:00
lxk0301
4f63dd9fc0 Update lxk0301_LoonTask.conf 2020-12-27 14:08:37 +08:00
lxk0301
428bd0ae6c Update lxk0301_Task.sgmodule.sgmodule 2020-12-27 14:08:01 +08:00
lxk0301
da39f37423 Update README.md 2020-12-27 12:48:35 +08:00
lxk0301
86e6a37dca Update JD_extra_cookie.js 2020-12-27 12:41:12 +08:00
lxk0301
960bef02d0 Update JD_extra_cookie.js 2020-12-27 12:34:11 +08:00
lxk0301
a965b0349c Update jd_dreamFactory.js
京喜工作 调整未选择商品生产时的通知频率
2020-12-27 12:26:33 +08:00
lxk0301
f75d052f42 Merge pull request #464 from DoveBoy/patch-1
更改京东汽车签到时间,方便兑换京豆
2020-12-27 12:16:30 +08:00
DoveBoy
311172eefb 更改京东汽车签到时间,方便兑换京豆
更改京东汽车签到时间,方便兑换京豆
2020-12-27 12:02:08 +08:00
lxk0301
4b943c9967 Merge pull request #460 from shylocks/master
优化报错提示,修复0点问题
2020-12-26 21:59:16 +08:00
shylocks
a9c637348b 优化报错提示,修复0点问题 2020-12-26 21:05:15 +08:00
lxk0301
8fc88b4eaf Update jd_crazy_joy.js 2020-12-26 17:00:33 +08:00
lxk0301
1bbf3b2b74 增加自动领取解锁等级奖励(京豆)功能 2020-12-26 16:24:52 +08:00
lxk0301
6c0503c3b6 fix,京喜工厂活动延长,截止时间到2021-12-31日 2020-12-26 15:37:16 +08:00
lxk0301
47eca18678 debug 2020-12-26 14:59:57 +08:00
lxk0301
2ec8a4a116 注销京东店铺会员卡脚本,手机端添加BoxJs设置 2020-12-26 14:29:59 +08:00
lxk0301
15f72b06c8 fix 2020-12-26 14:01:34 +08:00
lxk0301
e6c48f126f Merge pull request #454 from shylocks/master
内置直播红包雨id
2020-12-25 23:08:37 +08:00
shylocks
164f1ad738 内置红包雨id 2020-12-25 23:04:37 +08:00
lxk0301
8f63a28de8 Update qqread.js 2020-12-25 22:21:33 +08:00
lxk0301
d50131a433 Update jd_dreamFactory.js 2020-12-25 21:29:23 +08:00
lxk0301
71011d6afb Update jd_speed.js 2020-12-25 21:26:50 +08:00
lxk0301
9f54ca7e3a 修改挂机显示信息 2020-12-25 17:06:13 +08:00
lxk0301
198b75f7f3 update 2020-12-25 13:09:36 +08:00
lxk0301
95ea205f49 Merge remote-tracking branch 'origin/master' 2020-12-25 12:41:01 +08:00
lxk0301
c323a662be 三大软件更新订阅(增加疯狂的joy日常任务脚本) 2020-12-25 12:39:33 +08:00
lxk0301
b5f3e3534a Merge pull request #448 from Jone2008/patch-2
Update jdPlantBeanShareCodes.js
2020-12-25 12:33:10 +08:00
lxk0301
cf7653d24c Merge pull request #449 from Jone2008/patch-3
Update jdFruitShareCodes.js
2020-12-25 12:32:44 +08:00
lxk0301
c866f2ffad Merge pull request #447 from Jone2008/patch-1
Update jdDreamFactoryShareCodes.js
2020-12-25 12:32:17 +08:00
lxk0301
bea8a0ef12 fix 2020-12-25 12:31:48 +08:00
shylocks
b07324c788 Merge pull request #18 from lxk0301/master
Master
2020-12-25 12:18:07 +08:00
Jone2008
d446270611 Update jdFruitShareCodes.js 2020-12-25 11:24:49 +08:00
Jone2008
13da16e744 Update jdPlantBeanShareCodes.js 2020-12-25 11:23:30 +08:00
Jone2008
9dbfc6a5ed Update jdDreamFactoryShareCodes.js 2020-12-25 11:21:19 +08:00
lxk0301
3ba62aa120 Merge pull request #446 from shylocks/master
浏览3个商品1京豆
2020-12-25 10:53:05 +08:00
shylocks
118bd87083 浏览3个商品1京豆 2020-12-25 10:47:30 +08:00
lxk0301
234c47f003 天天加速,新增自动领取 已完成的虫洞任务京豆奖励(每个任务可得100-300京豆) 2020-12-25 10:41:07 +08:00
lxk0301
38921af1a0 京喜工厂如暂未选择新的商品生产,则每隔6小时提醒一次 2020-12-25 09:54:53 +08:00
lxk0301
ba02d455e5 优化水果成熟后的弹窗提醒内容 2020-12-25 09:47:57 +08:00
lxk0301
dc75ca79f0 Update githubAction.md 2020-12-25 00:20:58 +08:00
lxk0301
cd965558a0 Update README.md 2020-12-25 00:18:57 +08:00
lxk0301
05ced9c7eb 修复宠汪汪赛跑成功后领取奖励出现的"null人"的bug 2020-12-24 21:28:46 +08:00
lxk0301
bd9176cd0f Merge pull request #441 from DoveBoy/patch-1
云函数同步新增疯狂的joy互助码secret
2020-12-24 19:29:28 +08:00
DoveBoy
984c761001 云函数同步新增疯狂的joy互助码secret
云函数同步新增疯狂的joy互助码secret
2020-12-24 18:55:46 +08:00
lxk0301
5656d57fc1 疯狂的joy添加互助码填写的环境变量 JDJOY_SHARECODES 2020-12-24 18:10:30 +08:00
lxk0301
fccd9a21d1 Merge pull request #433 from cokyrain/patch-2
解决云函数报错
2020-12-24 17:06:40 +08:00
lxk0301
648474a27d 宠汪汪赛跑添加领取能力补给站功能,(2人赛跑可加5KM,50人赛跑可加25KM) 2020-12-24 13:54:23 +08:00
lxk0301
a7b6f39925 Merge remote-tracking branch 'origin/master' 2020-12-24 11:50:19 +08:00
lxk0301
f4051b5a5f update 2020-12-24 11:50:06 +08:00
lxk0301
a26c9338c6 Merge pull request #434 from shylocks/master
修复不开幸运宝箱的问题
2020-12-24 11:08:28 +08:00
shylocks
3672c753c3 修复不开幸运宝箱的问题 2020-12-24 11:06:38 +08:00
lxk0301
0266a60f3c joy挂机脚本去掉cookie过期后的推送通知 2020-12-24 11:06:32 +08:00
shylocks
3348b85948 Merge pull request #17 from lxk0301/master
Master
2020-12-24 11:05:06 +08:00
lxk0301
1efb50c419 Merge remote-tracking branch 'origin/master' 2020-12-24 10:38:00 +08:00
lxk0301
48289dfdd7 fix bug 2020-12-24 10:37:47 +08:00
lxk0301
04fbc48aef Merge pull request #429 from iouAkira/master
Master
2020-12-24 10:25:08 +08:00
lxk0301
bc01589d81 fix 2020-12-24 10:22:41 +08:00
lxk0301
861934e5fb IOS兼容多账号cookie,即使不用NobyDacookie,也不会提示去获取cookie,cookie失效后,不再自动清除 2020-12-24 10:21:47 +08:00
cokyrain
6e35363394 解决云函数报错
解决云函数报错 in method 'console_log', argument 1 of type 'char *'
2020-12-24 10:21:33 +08:00
lxk0301
56c9e1cee6 debug,不用NobyDa获取的京东cookie也可(不提示要去获取cookie) 2020-12-24 10:05:56 +08:00
lxk0301
55dc1a0ae4 update 2020-12-24 09:40:50 +08:00
lxk0301
b6c38d1aec update 2020-12-24 09:38:01 +08:00
lxk0301
ec6f6a862c 分组环境变量,查看根据明朗清晰 2020-12-24 09:29:46 +08:00
lxk0301
cee765690d Update jd_dreamFactory.js 2020-12-24 07:46:21 +08:00
Akira
d9367814be - 调整crazyjoy任务互助输出格式
- 增加crazyjoy任务互助码提取
- crazyjoycoin任务日志增加戳,并在重启的时候清空之前的日志
2020-12-24 00:06:35 +08:00
lxk0301
a28010227e Merge pull request #428 from shylocks/master
crazyJoy增加自动领取助力任务奖励
2020-12-24 00:04:28 +08:00
shylocks
77bd616dcf 增加自动领取助力任务奖励 2020-12-23 23:58:17 +08:00
Akira
0e1b0fb3e6 Merge pull request #1 from lxk0301/master
Master
2020-12-23 23:57:59 +08:00
lxk0301
b9bb912391 Update README.md 2020-12-23 22:59:55 +08:00
lxk0301
56eda15d77 Merge pull request #426 from JunzhouLiu/master
增加Ubuntu apt-get安装docker-compsos和Docker安装说明
2020-12-23 22:05:12 +08:00
lxk0301
7762810f6b fix 2020-12-23 19:33:16 +08:00
shylocks
99d0c692f3 Merge pull request #15 from lxk0301/master
Master
2020-12-23 19:20:08 +08:00
JunzhouLiu
9a56695710 增加Ubuntu apt-get安装docker-compsos和Docker安装说明 2020-12-23 18:50:53 +08:00
lxk0301
590901af3c Merge pull request #425 from iouAkira/master
Master
2020-12-23 17:41:57 +08:00
Akira
e0c255dedc 增加CRZAY_JOY_COIN_ENABLE开关配置,默认开启
关闭的话需要配置CRZAY_JOY_COIN_ENABLE=N
2020-12-23 17:38:26 +08:00
lxk0301
6423fe38c6 修复 剩余观看视频次数 为0的情况下, 还继续等待30秒的Bug 2020-12-23 17:35:09 +08:00
Akira
20a17a0d37 Update proc_file.sh 2020-12-23 17:22:48 +08:00
Akira
61d6c43c40 Update crontab_list.sh 2020-12-23 17:22:23 +08:00
lxk0301
4beb617990 Merge remote-tracking branch 'origin/master' 2020-12-23 16:47:51 +08:00
lxk0301
39f24854d0 解决joy不观看广告视频得金币的bug 2020-12-23 16:47:39 +08:00
lxk0301
27aae92b45 Merge pull request #424 from DoveBoy/patch-1
添加疯狂的joy环境变量说明、云函数新增疯狂的joy secret
2020-12-23 16:47:03 +08:00
DoveBoy
64b67204bf 云函数新增疯狂的joy secret
云函数新增疯狂的joy secret
2020-12-23 16:23:10 +08:00
DoveBoy
8bc295e1e7 疯狂的joy环境变量说明
疯狂的joy环境变量说明
2020-12-23 16:16:49 +08:00
lxk0301
62d0c144a7 Merge pull request #422 from shylocks/master
增加joy循环助力/兑换京豆开关,挂机增大延时
2020-12-23 15:43:34 +08:00
shylocks
3c39134a47 增大延时防止问题 2020-12-23 15:23:00 +08:00
shylocks
99b085bcae 循环助力/兑换京豆
默认不开启循环助力,可通过环境变量JDJOY_HELPSELF设置
默认不开启京豆兑换,可通过环境变量JDJOY_APPLYJDBEAN设置,目前最小为500/1000京豆
2020-12-23 15:21:51 +08:00
lxk0301
9f725eaa86 Merge pull request #420 from shylocks/master
加入购买合并joy
2020-12-23 14:57:01 +08:00
shylocks
14ff996463 修复报错 2020-12-23 14:54:50 +08:00
shylocks
b01e888dd3 加入购买合并joy 2020-12-23 14:52:21 +08:00
lxk0301
68065574cb TODO 宠汪汪赛跑 能力补给站(2人赛跑可加5KM,50人赛跑可加25KM),抽空添加 2020-12-23 14:42:17 +08:00
lxk0301
b4c41b6ea7 fix jd_unbind.js,三大软件订阅新增jd_unbind.js 2020-12-23 14:35:25 +08:00
lxk0301
089135eaf4 添加官方说明文档url 2020-12-23 13:48:23 +08:00
lxk0301
348dd9cab5 Merge pull request #408 from RookieZoe/master
添加企业微信机器人通知
2020-12-23 13:45:38 +08:00
lxk0301
0ca4139670 Merge pull request #419 from DoveBoy/patch-1
云函数同步更新疯狂的joy每日任务
2020-12-23 13:41:37 +08:00
DoveBoy
c053165999 云函数同步更新疯狂的joy每日任务
云函数同步更新疯狂的joy每日任务
2020-12-23 13:39:18 +08:00
lxk0301
0997a75922 Merge pull request #418 from shylocks/master
crazyJoy 挂机领金币/看视频领京豆/领补给/做任务
2020-12-23 13:33:00 +08:00
shylocks
d47e9b57ee 修复报错 2020-12-23 13:28:25 +08:00
shylocks
de19ca6a2f 完成crazyJoy 2020-12-23 13:23:40 +08:00
lxk0301
c2b94b0bca Merge pull request #417 from iouAkira/patch-1
提取互助码bug修复 ,延迟任务处理增加提示
2020-12-23 12:24:51 +08:00
shylocks
6aada7dbec crazy 挂机领取金币/看视频/小时补给 2020-12-23 12:04:08 +08:00
Akira
da73c1b007 bug fix
因为之前测试时候日志输出未设置ts,所以$1没问题,默认所有日志有|ts输出,所以需要改取 $4,$5也取是担心中间会有多的空格影响分列
2020-12-23 11:16:08 +08:00
Akira
43ab89ccea 如果RANDOM_DELAY_MAX未配置执行提示sh: 1: unknown operand
如果RANDOM_DELAY_MAX未配置执行提示sh: 1: unknown operand,增一个判断提示
https://github.com/lxk0301/jd_scripts/pull/372
2020-12-23 11:06:19 +08:00
lxk0301
291e1b1408 修复自己账号之间相互助力的bug 2020-12-23 10:29:27 +08:00
lxk0301
97426d8717 添加日志,尝试修复报错 2020-12-23 09:55:26 +08:00
lxk0301
997412b04a 注销店铺会员卡添加json判断避免比较出错 2020-12-23 09:46:29 +08:00
lxk0301
11531b956b Merge pull request #410 from iouAkira/master
增加提取日志中各个账号互助码脚本,把各个账号互助码整理统一到一个文件
2020-12-23 08:22:38 +08:00
Akira
c19dfcfc90 调整每次提取前清空互助码文件 2020-12-22 23:28:44 +08:00
Akira
fafa4db428 1.调整6个大家可以互助的脚本互助码输出格式
2.增加提取日志中各个账号互助码脚本互助码统一整理到一个文件
2020-12-22 23:22:41 +08:00
lxk0301
f8cdb5b382 Merge pull request #409 from DoveBoy/patch-4
云函数同步京东看一看secret
2020-12-22 21:17:45 +08:00
DoveBoy
89d6f98ab6 云函数同步京东看一看secret
云函数同步京东看一看secret
2020-12-22 21:16:43 +08:00
lxk0301
53071c5c62 Merge pull request #407 from DoveBoy/patch-2
云函数新增注销京东会员卡Crontab
2020-12-22 21:08:14 +08:00
lxk0301
6be3a2e1c3 Merge pull request #406 from DoveBoy/patch-1
云函数新增注销京东已开的店铺会员secret
2020-12-22 21:07:58 +08:00
Rookie_Zoe
337e9e38b1 add 企业微信机器人通知 2020-12-22 20:35:43 +08:00
DoveBoy
0ba032d3b1 云函数新增注销京东会员卡Crontab
云函数新增注销京东会员卡Crontab
2020-12-22 19:31:56 +08:00
lxk0301
0ec29359f1 Merge remote-tracking branch 'origin/master' 2020-12-22 18:47:47 +08:00
lxk0301
a4cc060528 修复东东小窝自己账号相互助力功能 2020-12-22 18:47:34 +08:00
DoveBoy
975660bbf7 云函数新增注销京东已开的店铺会员secret
云函数新增注销京东已开的店铺会员secret
2020-12-22 18:11:34 +08:00
lxk0301
41fef0c979 Merge pull request #403 from EvineDeng/master
增加注销店铺会员的环境变量说明,增加Docker1注销店铺会员的定时任务,默认每周六运行一次。
2020-12-22 17:35:31 +08:00
lxk0301
ecad9a9e3d fix bug 2020-12-22 17:33:40 +08:00
EvineDeng
95862f3386 Fix 2020-12-22 17:33:34 +08:00
EvineDeng
b9c4cf848a 增加注销店铺会员的环境变量说明,增加Docker1注销店铺会员的定时任务,默认每周六运行一次。 2020-12-22 15:46:17 +08:00
lxk0301
513ed51e7b 修复无会员账号脚本出错的问题 2020-12-22 14:50:36 +08:00
lxk0301
aeb7f84791 修复bug 2020-12-22 14:39:38 +08:00
lxk0301
1d201d87be 修复 2020-12-22 14:30:07 +08:00
shylocks
eeca48c462 Merge pull request #14 from lxk0301/master
Master
2020-12-22 14:21:49 +08:00
lxk0301
9f963ace31 Merge remote-tracking branch 'origin/master' 2020-12-22 14:16:17 +08:00
lxk0301
0fa93efe9b Merge pull request #401 from shylocks/master
注销京东会员卡
2020-12-22 14:15:30 +08:00
shylocks
9005a3992e 注销京东会员卡 2020-12-22 14:12:24 +08:00
lxk0301
395618bae3 更新文档 2020-12-22 13:53:46 +08:00
lxk0301
5ac8cc2658 Merge pull request #400 from Dellear/master
浇水添加1s延时,连续浇水时请求容易异常
2020-12-22 13:46:30 +08:00
wangsq
4f4fbeb834 浇水添加1s延时,连续浇水时请求容易异常 2020-12-22 13:39:57 +08:00
lxk0301
b9fbecc36b Merge pull request #398 from DoveBoy/patch-1
云函数新增PushPlus推送secret
2020-12-22 13:18:51 +08:00
DoveBoy
297eb0ad9b 云函数新增PushPlus推送secret
云函数新增PushPlus推送secret
2020-12-22 12:53:27 +08:00
lxk0301
5ed76b0d7a 修复(推送失败)与完善pushplus,中文名“推送加” 2020-12-22 12:46:26 +08:00
lxk0301
b9b93877ec Merge pull request #392 from qiangxinglin/lxk0301_master
增加pushplus推送
2020-12-22 11:48:32 +08:00
lxk0301
82472dfbae Merge pull request #396 from Dellear/patch-1
调整serveChan报错提示
2020-12-22 11:12:45 +08:00
lxk0301
ffa81e600a fix 2020-12-22 10:07:29 +08:00
lxk0301
ae470d160d jd_bean_change.js添加今日将过期京豆提醒功能(如今日没将要过期的京豆则不显示) 2020-12-22 10:05:58 +08:00
lxk0301
1d458ac0e9 修复京东健康脚本报错问题 2020-12-22 09:23:55 +08:00
Dellear
fbd8062fa3 调整serveChan报错提示 2020-12-22 01:21:29 +08:00
lxk0301
26c2ac6a59 Update jd_dreamFactory.js 2020-12-22 00:30:54 +08:00
lxk0301
dee764860f Merge remote-tracking branch 'origin/master' 2020-12-21 18:27:32 +08:00
lxk0301
cc47bc0286 企鹅阅读添加推送通知(每天晚上22点 0分到22:20分之间运行的时候, 会发送通知),自用 2020-12-21 18:25:55 +08:00
lxk0301
a916a18640 Merge pull request #391 from DoveBoy/patch-1
云函数新增QQ酷推(Cool Push)Secret
2020-12-21 15:33:17 +08:00
Xinglin Qiang
84c9f5d21b 增加pushplus推送 2020-12-21 15:25:54 +08:00
DoveBoy
48ac68618d 云函数新增QQ酷推(Cool Push)Secret
云函数新增QQ酷推(Cool Push)Secret
2020-12-21 15:12:24 +08:00
lxk0301
831353eb31 完善QQ酷推(Cool Push) 通知方式 2020-12-21 15:02:09 +08:00
lxk0301
66cd0a08f2 Merge pull request #389 from Vesugierii/patch-3
新增qq酷推推送
2020-12-21 14:09:24 +08:00
Vesugierii
77c5759d51 Update sendNotify.js 2020-12-21 13:30:03 +08:00
lxk0301
5d5be72913 Merge pull request #387 from qiangxinglin/lxk0301_master
fix typo
2020-12-21 13:20:36 +08:00
Xinglin Qiang
7bb6cfe503 fix typo
reward错别字
2020-12-21 13:09:18 +08:00
lxk0301
8445deb280 Merge pull request #384 from DoveBoy/patch-1
云函数同步新增京东赚赚secret
2020-12-21 12:52:01 +08:00
lxk0301
10228ba102 添加助力日志打印 2020-12-21 10:08:32 +08:00
lxk0301
6325af6207 添加日志打印 2020-12-21 09:57:01 +08:00
DoveBoy
c28b8d5daf 云函数同步新增京东赚赚secret
云函数同步新增京东赚赚secret
2020-12-21 08:14:26 +08:00
lxk0301
4e603a158c fix bug 2020-12-20 23:36:45 +08:00
lxk0301
d539089ae2 东东小窝脚本如果存在大于等于2个京东账号的,可每个账号之间相互助力一次 2020-12-20 21:30:55 +08:00
lxk0301
f7e16f188f Merge remote-tracking branch 'origin/master' 2020-12-20 20:52:11 +08:00
lxk0301
59f20e73ce 京东赚赚脚本(jd_jdzz.js)脚本提供相互助力,环境变量/secret名称为JDZZ_SHARECODES 2020-12-20 20:51:21 +08:00
lxk0301
9a3e77929f 点点券优化弹窗通知 2020-12-20 20:41:26 +08:00
lxk0301
9a6436786b Merge pull request #380 from iouAkira/master
精简合并删除一些文件
2020-12-20 18:33:23 +08:00
lxk0301
e604652cf7 京东赚赚脚本(jd_jdzz.js)满人助力后,暂时无法看到邀请码 2020-12-20 17:33:33 +08:00
lxk0301
a2d228dc85 京东赚赚脚本(jd_jdzz.js)更新,优化宠汪汪赛跑脚本通知 2020-12-20 17:22:30 +08:00
Akira
ee7342f275 1.所有任务都shell去处理添加|ts输出,删除crontab_list_ts.sh减少维护工作量
2.删除tg bot交互配置参考,后面也会删除supportbot应镜像不再维护,不想在沟通解答这些问题
3.replaceNode_withRandomSleep.sh直接加载shell中,减少维护文件
4.更新readme
2020-12-20 17:08:54 +08:00
lxk0301
184a49f7a1 修复全名开红包脚本 2020-12-20 15:18:39 +08:00
lxk0301
2b32f954ba sendNotify.js顶部注释添加说明 2020-12-20 13:56:36 +08:00
lxk0301
13c78c7fed Merge pull request #372 from hahahrfool/master
增加延迟功能。
2020-12-18 20:49:51 +08:00
renfenghuan
de2dc16af6 补充延迟方面的注释 2020-12-18 12:46:31 +00:00
lxk0301
a4fa257b4a update 2020-12-18 19:02:32 +08:00
renfenghuan
83a46192e8 fix bug in the shell
少写了个分号;
不能用sh,要用source,否则无法继承环境变量
2020-12-18 10:45:52 +00:00
renfenghuan
fc43c05fc4 Update replaceNode_withRandomSleep.sh 2020-12-18 08:06:10 +00:00
renfenghuan
818b43cabc 为default_task也增添判断是否添加延迟
为default_task也增添判断是否添加延迟;
修复替换脚本的一个bug
2020-12-18 07:07:41 +00:00
renfenghuan
192fa6bf3a 添加任务延迟功能
自动探测RANDOM_DELAY_MAX变量,如果设置了,则利用sed替换除必须固定时间运行的脚本以外的所有脚本任务的cron命令,在运行node前先运行sleep
2020-12-18 06:41:37 +00:00
lxk0301
feca0d7de0 Merge remote-tracking branch 'origin/master' 2020-12-18 09:34:38 +08:00
lxk0301
6bcf203b0b task订阅添加京东看一看 2020-12-18 09:33:04 +08:00
lxk0301
23fb9b5020 优化偷好友狗粮功能 2020-12-18 09:23:52 +08:00
lxk0301
4d99c0817c Merge pull request #364 from EvineDeng/master
Docker增加jd_watch的定时任务,默认每天2次
2020-12-17 18:42:32 +08:00
lxk0301
97e525f091 fix 2020-12-17 18:31:44 +08:00
lxk0301
e5404a4f98 手机端增加弹窗提醒 2020-12-17 18:13:07 +08:00
EvineDeng
7d62cc1b28 更改为每天两次 2020-12-17 18:11:26 +08:00
EvineDeng
38432c1e04 Merge remote-tracking branch 'upstream/master' 2020-12-17 16:54:03 +08:00
EvineDeng
bc8d890ab6 Docker增加jd_watch的定时任务,默认每天三次 2020-12-17 16:25:57 +08:00
lxk0301
8566a39c67 fix 2020-12-17 16:01:51 +08:00
lxk0301
8cb9ce17b5 摇钱树脚本改成默认不卖出金果得金币(金币有时效,会过期) 2020-12-17 14:50:30 +08:00
lxk0301
ec5f725d7e 兼容云端使用环境变量接收各自所抓的包,将所抓的两种包使用@符号隔开后,分别填入到WATCH_ACCEPTBODY、WATCH_DOBODY这两个环境变量 2020-12-17 14:29:21 +08:00
lxk0301
6745a1ebf9 Update jd_watch.js 2020-12-17 07:55:50 +08:00
lxk0301
97d519513c 修改 jd_live_redrain.js直播红包雨cron 2020-12-16 18:34:39 +08:00
lxk0301
c5727a0315 修复看看脚本异常报错问题 2020-12-16 18:18:53 +08:00
lxk0301
d313bfa9c3 Merge pull request #357 from shylocks/master
修复看一看领奖body,增加教程
2020-12-16 16:59:18 +08:00
shylocks
09bddd139f 修复文件判断逻辑 2020-12-16 16:41:21 +08:00
shylocks
12abe8c187 修复文件名 2020-12-16 16:35:40 +08:00
shylocks
6098180229 修改教程 2020-12-16 16:34:43 +08:00
shylocks
f5dff225e8 修复看一看领奖body,增加教程 2020-12-16 16:29:53 +08:00
lxk0301
5354015613 Merge remote-tracking branch 'origin/master' 2020-12-16 15:23:20 +08:00
lxk0301
b8239ad43d update,BoxJs可控制不同账号参加不同级别的赛跑 2020-12-16 15:23:04 +08:00
lxk0301
0de725263c Merge pull request #354 from DoveBoy/patch-3
云函数新增发现看一看、京东赚赚
2020-12-16 13:39:36 +08:00
lxk0301
ea0bc2d15c Merge pull request #356 from sgzman/patch-1
Update jd_watch.js
2020-12-16 13:39:23 +08:00
Five Million
a6914aee85 Update jd_watch.js 2020-12-16 13:33:29 +08:00
lxk0301
592fbec1dc 优化,宠汪汪邀请助力加入随机互助,因token时效问题,不一定有效 2020-12-16 11:07:38 +08:00
lxk0301
0ec24e4aec 三大task订阅以及docker添加京东赚赚脚本 2020-12-16 10:04:55 +08:00
DoveBoy
b4fe8896cc 云函数新增发现看一看、京东赚赚
云函数新增发现看一看、京东赚赚
2020-12-16 09:53:55 +08:00
lxk0301
a6ce9a94af Merge pull request #353 from shylocks/master
Master
2020-12-16 09:39:38 +08:00
shylocks
01d06e1c22 看一看 2020-12-16 09:24:40 +08:00
shylocks
e54d932f83 完成打卡 2020-12-16 08:52:30 +08:00
shylocks
a0af3a6c1d 京东赚赚 2020-12-16 00:36:52 +08:00
lxk0301
91f29bf6a1 Merge pull request #350 from DoveBoy/patch-1
云函数新增京东健康APP
2020-12-16 00:10:57 +08:00
shylocks
4d1c82315b 汽车加入兑换 2020-12-15 23:42:25 +08:00
DoveBoy
2e95db0b8f 云函数新增京东健康APP
云函数新增京东健康APP
2020-12-15 23:41:36 +08:00
lxk0301
0c4fda3ea9 Merge pull request #342 from JunzhouLiu/master
启动方式已更改,更新说明文档。
2020-12-15 23:11:44 +08:00
lxk0301
b6bbb5f81d Update lxk0301_LoonTask.conf 2020-12-15 23:10:53 +08:00
lxk0301
990e0256c7 Update lxk0301_Task.sgmodule.sgmodule 2020-12-15 23:09:51 +08:00
lxk0301
13d7036b09 Merge pull request #348 from EvineDeng/master
Docker增加京东健康APP集汪汪卡瓜分百万红包的定时任务
2020-12-15 22:34:00 +08:00
lxk0301
92c0843107 Merge pull request #347 from shylocks/master
京东健康APP集汪汪卡瓜分百万红包
2020-12-15 22:33:40 +08:00
EvineDeng
b90ca07c08 京东健康APP集汪汪卡瓜分百万红包为短期任务 2020-12-15 21:37:59 +08:00
EvineDeng
31ca30f9c6 同步增加docker的定时任务,不含代属签到和快递签到 2020-12-15 21:27:40 +08:00
shylocks
ba98bf5aae 看一看测试 2020-12-15 21:25:41 +08:00
shylocks
b9df77db5f 京东健康APP集汪汪卡瓜分百万红包 2020-12-15 20:51:59 +08:00
shylocks
a89c834346 Merge pull request #13 from lxk0301/master
Master
2020-12-15 20:41:46 +08:00
lxk0301
8d3e779a60 debug 2020-12-15 17:19:09 +08:00
lxk0301
324f397498 Merge pull request #343 from DoveBoy/patch-2
fix云函数无法使用的问题
2020-12-15 17:11:11 +08:00
lxk0301
e124ac84e8 Merge pull request #341 from DoveBoy/patch-1
迁移过期活动脚本
2020-12-15 16:52:32 +08:00
lxk0301
449e5c0ff7 fix 2020-12-15 16:31:58 +08:00
DoveBoy
49448e4803 fix云函数无法使用的问题
fix云函数无法使用的问题
2020-12-15 14:37:29 +08:00
lxk0301
bc11b22c78 update 2020-12-15 14:16:23 +08:00
JunzhouLiu
f9248ccce4 增加容器资源限额提示,过少会导致任务执行异常 2020-12-15 13:59:12 +08:00
JunzhouLiu
8c5963cdcd 启动方式已更改,更新文档和示例文件 2020-12-15 13:58:07 +08:00
DoveBoy
2543b41608 迁移过期活动脚本
迁移过期活动脚本
2020-12-15 11:37:26 +08:00
lxk0301
a11179ae80 update 2020-12-15 11:11:28 +08:00
lxk0301
84d7caf0dc fix 2020-12-15 09:51:38 +08:00
lxk0301
a1b4fccc93 三大task订阅恢复直播红包雨脚本,活动31日结束 2020-12-15 09:34:31 +08:00
lxk0301
9b780efa89 Merge pull request #337 from EvineDeng/master
Docker定时任务增加直播红包雨;京东金融打卡领年终奖移动到短期任务;删除苹果超品日互动抽奖机。
2020-12-14 23:09:52 +08:00
lxk0301
0421bfcab9 Update jd_live_redrain.js 2020-12-14 23:06:25 +08:00
EvineDeng
e099ba245e Docker定时任务增加直播红包雨;京东金融打卡领年终奖移动到短期任务;删除苹果超品日互动抽奖机。 2020-12-14 23:05:08 +08:00
EvineDeng
37e7845e11 Merge remote-tracking branch 'upstream/master' 2020-12-14 21:54:04 +08:00
lxk0301
fbc23998b6 Update jd_live_redrain.js 2020-12-14 21:26:12 +08:00
lxk0301
74d08daf04 Merge pull request #332 from DoveBoy/patch-1
迁移复活的活动脚本
2020-12-14 21:15:30 +08:00
EvineDeng
f66eaf7006 Merge remote-tracking branch 'upstream/master' 2020-12-14 19:54:03 +08:00
DoveBoy
42d04d8dee 迁移复活的活动脚本
迁移复活的活动脚本
2020-12-14 19:27:57 +08:00
lxk0301
60d893026d Merge pull request #331 from shylocks/master
更新直播红包雨
2020-12-14 19:15:56 +08:00
shylocks
3ce4f82a04 关闭通知 2020-12-14 19:12:31 +08:00
shylocks
eed1a3c022 更新直播红包雨 2020-12-14 19:11:10 +08:00
EvineDeng
af406064c3 Merge remote-tracking branch 'upstream/master' 2020-12-14 17:54:03 +08:00
lxk0301
055077bc9b 更新圈x task订阅脚本 2020-12-14 17:40:39 +08:00
lxk0301
1d2ddd7ecf update 2020-12-14 17:36:02 +08:00
EvineDeng
da03aa3d3a Merge remote-tracking branch 'upstream/master' 2020-12-14 16:54:03 +08:00
shylocks
292eeb01da Merge pull request #12 from lxk0301/master
Master
2020-12-14 16:25:33 +08:00
lxk0301
60e5a13b03 update 2020-12-14 16:22:36 +08:00
lxk0301
dea369c872 Merge remote-tracking branch 'origin/master' 2020-12-14 16:11:58 +08:00
lxk0301
6f0206c16e update 2020-12-14 16:11:46 +08:00
lxk0301
f6e96eb33b Merge pull request #329 from JunzhouLiu/master
增加服务器资源约束配置
2020-12-14 15:58:17 +08:00
lxk0301
4850d59df9 更新Surge的Task脚本模块
地址: https://raw.githubusercontent.com/lxk0301/jd_scripts/master/Surge/lxk0301_Task.sgmodule.sgmodule
2020-12-14 15:54:44 +08:00
JunzhouLiu
773022816c 增加服务器资源约束配置。 2020-12-14 15:36:06 +08:00
Junzhou Liu
b0fc3388d0 Merge pull request #1 from lxk0301/master
Master
2020-12-14 15:13:52 +08:00
EvineDeng
4fbe8c4585 Merge remote-tracking branch 'upstream/master' 2020-12-14 11:54:09 +08:00
lxk0301
5fe848a2aa fix 2020-12-14 11:29:06 +08:00
EvineDeng
0e048c85b2 Merge remote-tracking branch 'upstream/master' 2020-12-14 10:54:18 +08:00
lxk0301
315aa8ae92 jd_joy.js宠汪汪参加赛跑级别可设置不同账号参加不同的级别,如若想设置不同账号参加不同类别的比赛则用&区分即可(如:2&10&50) 2020-12-14 10:43:45 +08:00
EvineDeng
74928b6290 Merge remote-tracking branch 'upstream/master' 2020-12-14 09:54:03 +08:00
lxk0301
f6f4182d6f 迁移已过期的短期活动至activity文件夹。删除task订阅以及docker里面已过期活动 2020-12-14 09:26:49 +08:00
EvineDeng
9086518121 删除Docker的PUBG游戏盛典活动定时任务 2020-12-14 09:04:06 +08:00
lxk0301
511c4358b2 Merge pull request #322 from EvineDeng/master
去除过期的定时任务
2020-12-13 23:27:57 +08:00
lxk0301
03c8706635 Merge pull request #318 from DoveBoy/master
迁移活动脚本
2020-12-13 23:25:19 +08:00
shylocks
c7dd45c3b5 Merge pull request #11 from lxk0301/master
Master
2020-12-13 20:16:05 +08:00
EvineDeng
8589e8108b 移动部分过期的脚本 2020-12-13 18:53:55 +08:00
EvineDeng
afe9fc2d6d 1.增加京东金融签到定时任务;2.将部分过期的脚本移动到backUp文件夹;3.上个commit错误删除了苹果超品日互动抽奖,还原。 2020-12-13 18:49:19 +08:00
EvineDeng
d24ab019bc 去除过期的定时任务 2020-12-13 18:39:20 +08:00
DoveBoy
eb85d7bece Delete jdJxStoryShareCodes.js 2020-12-13 11:12:15 +08:00
lxk0301
795bae1295 Merge pull request #312 from tanmx/patch-3
Update Readme.md
2020-12-13 11:06:37 +08:00
lxk0301
878c8d8670 Delete jdJxStoryShareCodes.js 2020-12-13 11:03:57 +08:00
DoveBoy
4bfbaa4d82 迁移活动脚本
迁移活动脚本
2020-12-13 10:55:23 +08:00
DoveBoy
f681cf8667 迁移活动脚本
迁移活动脚本
2020-12-13 10:54:03 +08:00
DoveBoy
3df56ebeb3 迁移活动脚本
迁移活动脚本
2020-12-13 10:53:21 +08:00
DoveBoy
e0dc44eaa7 迁移活动脚本
迁移活动脚本
2020-12-13 10:51:57 +08:00
DoveBoy
ba2dbd3990 迁移活动脚本
迁移活动脚本
2020-12-13 10:51:14 +08:00
lxk0301
c54941b14e Merge pull request #317 from shylocks/master
超级直播间任务13豆
2020-12-13 10:50:25 +08:00
DoveBoy
2f8f0657ea 迁移活动脚本
迁移活动脚本
2020-12-13 10:50:14 +08:00
DoveBoy
b9e896f93f 迁移活动脚本
迁移活动脚本
2020-12-13 10:49:19 +08:00
DoveBoy
f6aa54800e 迁移活动脚本
迁移活动脚本
2020-12-13 10:47:46 +08:00
DoveBoy
01765e0f8c 迁移活动脚本
迁移活动脚本
2020-12-13 10:46:43 +08:00
DoveBoy
24435c929c 迁移活动脚本
迁移活动脚本
2020-12-13 10:44:47 +08:00
lxk0301
71b3e79ace Merge pull request #311 from DoveBoy/patch-1
云函数同步新增金融打卡领年终奖
2020-12-13 09:55:09 +08:00
shylocks
3dbd9b4284 超级直播间任务13豆 2020-12-13 09:54:55 +08:00
shylocks
0d92886fd4 修改loon 2020-12-13 09:54:15 +08:00
shylocks
76b0302bae 修改loon 2020-12-13 09:52:17 +08:00
shylocks
597be7b951 修改loon 2020-12-13 09:51:46 +08:00
lxk0301
7338c6cf63 Update jd_dreamFactory.js 2020-12-13 00:26:39 +08:00
shylocks
ce16fb1fc9 超级直播间任务13豆 2020-12-12 21:16:13 +08:00
shylocks
bdde5b7fd5 超级直播间任务13豆,今日限定 2020-12-12 21:15:50 +08:00
shylocks
cb4e159cbd 超级直播间红包雨,今日限定 2020-12-12 20:56:22 +08:00
tanmx
7054c869bd Update Readme.md
修改单词错误
2020-12-12 19:25:14 +08:00
lxk0301
3cf308db06 点点券优化,显示可兑换多少无门槛红包,云端在大于10元无门槛红包时进行通知推送,平时默认不通知 2020-12-12 17:59:38 +08:00
lxk0301
b19fc2d886 优化 2020-12-12 16:58:05 +08:00
DoveBoy
0ce07cc942 云函数同步新增金融打卡领年终奖
云函数同步新增金融打卡领年终奖
2020-12-12 15:55:23 +08:00
lxk0301
8167a591be Merge pull request #310 from shylocks/master
金融打卡领年终奖
2020-12-12 15:27:43 +08:00
lxk0301
2d45dfb3ee update 2020-12-12 15:03:44 +08:00
shylocks
09722fd27a 金融打卡领年终奖 2020-12-12 13:25:18 +08:00
lxk0301
0bcce0250d Merge pull request #309 from shylocks/master
修改请求逻辑,从gitee请求红包雨act
2020-12-12 13:17:13 +08:00
shylocks
29e3a618e9 修改请求逻辑,从gitee请求红包雨act 2020-12-12 12:50:02 +08:00
lxk0301
16d817b107 Merge pull request #308 from shylocks/master
修复直播红包雨
2020-12-12 07:26:24 +08:00
shylocks
ae7739d5b1 update ua 2020-12-12 00:34:59 +08:00
shylocks
50575ec058 修复红包雨 2020-12-12 00:18:06 +08:00
shylocks
2056ffdb15 update 团 2020-12-12 00:17:20 +08:00
shylocks
39d1c591d5 更新cdn 2020-12-12 00:14:33 +08:00
lxk0301
c417a5ac2c Update feature_request.md 2020-12-11 23:32:22 +08:00
shylocks
57d2366442 Merge pull request #8 from lxk0301/master
Master
2020-12-11 20:13:58 +08:00
lxk0301
ee6b04c767 Merge pull request #305 from DoveBoy/master
补充TG_PUSH教程
2020-12-11 19:35:21 +08:00
DoveBoy
e03bfb18b4 补充TG_PUSH教程
补充TG_PUSH教程
2020-12-11 19:20:34 +08:00
DoveBoy
9db7792d66 更新教程所需的图片
更新教程所需的图片
2020-12-11 19:14:20 +08:00
DoveBoy
9b40817b1e Delete TG_PUSH2.png 2020-12-11 19:13:58 +08:00
lxk0301
a687b096a0 Merge pull request #304 from iouAkira/patch-1
fix
2020-12-11 18:56:44 +08:00
iouAkira
f9d20148f7 修正变量名称 增加 readme连接 2020-12-11 18:50:45 +08:00
Akira
ed9ce7b778 fix 2020-12-11 18:40:38 +08:00
Akira
cb11d36487 fix 2020-12-11 18:39:57 +08:00
lxk0301
0001d7daae 优化东东工厂在未选择商品以及未提供心仪商品的情况下的通知.目前设计是每天12点运行的时候通知一次 2020-12-11 18:38:48 +08:00
lxk0301
63178c083c Merge pull request #301 from iouAkira/dev
Dev
2020-12-11 18:24:52 +08:00
Akira
a59aa8682d fix 2020-12-11 17:49:43 +08:00
iouAkira
32a4f00f52 fix 2020-12-11 17:08:59 +08:00
iouAkira
93ce2a37db fix 2020-12-11 17:05:35 +08:00
iouAkira
82293ea40b 调整输入日志名称 2020-12-11 17:00:41 +08:00
iouAkira
9749e301df 改为检查latest tag 2020-12-11 16:59:42 +08:00
iouAkira
499773eec8 📖 增加配置example和文档说明 2020-12-11 16:56:36 +08:00
lxk0301
9ff9a9c923 调整京东多账号 Ck 管理的顺序,目前脚本执行顺序为(NobyDa的CookieJD,CookieJD2,然后加上京东多账号的cookie) 2020-12-11 16:39:20 +08:00
lxk0301
4719c25171 update 2020-12-11 16:12:35 +08:00
iouAkira
6ffc3e2621 shell脚本完善 2020-12-11 16:09:37 +08:00
shylocks
82f9643760 Merge pull request #7 from lxk0301/master
Master
2020-12-11 16:04:51 +08:00
lxk0301
309486ba5f 不需助力的脚本,IOS上支持 京东多账号 Ck 管理,多账号cookie使用详情见 https://raw.githubusercontent.com/lxk0301/jd_scripts/master/JD_extra_cookie.js 2020-12-11 15:55:42 +08:00
iouAkira
f7099db822 完善log打印 2020-12-11 15:51:57 +08:00
iouAkira
0b42bf1498 测是dev镜像 2020-12-11 15:34:22 +08:00
iouAkira
8c8b64b2f4 🔧 2020-12-11 14:59:20 +08:00
lxk0301
9f76c1c2f5 改写兑换京豆逻辑.从高到低的京豆进行兑换.如WO币不够则一直攒着 2020-12-11 14:48:11 +08:00
iouAkira
75d75687ab 测试dev tag镜像 2020-12-11 14:47:13 +08:00
iouAkira
121853c55a 📦 增加判断是包含必须配置默认任务,如果没有就加上 2020-12-11 14:31:04 +08:00
iouAkira
3329ed150e 修正执行脚本路径 2020-12-11 14:00:31 +08:00
iouAkira
04192c6af7 设置测试镜像tag 2020-12-11 13:56:32 +08:00
iouAkira
43a303b5eb 增加容器启动入口文件,整理参数配置数据 2020-12-11 13:56:01 +08:00
Akira
912fc3a0fa Merge pull request #1 from lxk0301/master
merge
2020-12-11 13:22:58 +08:00
lxk0301
f16f8423ea 东东小窝,新增装饰领京豆功能 2020-12-11 12:02:42 +08:00
lxk0301
b86112f244 fix 2020-12-11 10:17:40 +08:00
lxk0301
d4676475f1 圈x,loon等订阅,docker添加京东直播(jd_live.js)脚本 2020-12-11 09:49:59 +08:00
lxk0301
a9c1930d71 Merge pull request #299 from DoveBoy/patch-1
云函数同步新增京东直播18豆
2020-12-11 08:51:10 +08:00
DoveBoy
7664e84f77 云函数同步新增京东直播18豆
云函数同步新增京东直播18豆
2020-12-11 08:49:37 +08:00
lxk0301
8b8f37e66f Merge pull request #298 from shylocks/master
直播每天18豆+抢京豆21豆+修复直播红包雨
2020-12-11 08:43:44 +08:00
shylocks
9085d056f1 更新body 2020-12-11 07:41:10 +08:00
shylocks
6531505d50 更新助力码 2020-12-11 07:34:52 +08:00
shylocks
b82ed461b9 修复开团问题 2020-12-11 07:26:00 +08:00
shylocks
9ef30e53b9 更新获取作者助力码的方式 2020-12-10 23:59:25 +08:00
shylocks
065e00da5d Merge pull request #6 from lxk0301/master
Master
2020-12-10 22:45:17 +08:00
shylocks
f26ea03ae5 Merge pull request #5 from shylocks/catch_bean
抢京豆
2020-12-10 22:42:45 +08:00
shylocks
3f22138ccd 抢京豆 2020-12-10 22:38:25 +08:00
shylocks
e24e538a02 Merge pull request #4 from shylocks/catch_bean
Catch bean
2020-12-10 15:09:55 +08:00
shylocks
2b6e8e5561 抢京豆 2020-12-10 15:04:45 +08:00
lxk0301
fb0dd8fda3 update 2020-12-10 14:34:42 +08:00
lxk0301
4219444ff7 删除 jd_live_redrain2.js 2020-12-10 11:00:54 +08:00
lxk0301
e156c77019 update 2020-12-10 10:49:40 +08:00
lxk0301
0b9bec7295 修复企鹅阅读的bug 2020-12-10 10:42:46 +08:00
shylocks
e9cac7d157 京东直播18豆 2020-12-10 08:55:22 +08:00
lxk0301
c65b305c9f update 2020-12-09 18:16:49 +08:00
lxk0301
429072d3f6 圈x和docker添加新增脚本,添加脚本内置说明(会给内置码进行助力) 2020-12-09 17:42:55 +08:00
lxk0301
4707cfe9af Merge pull request #286 from shylocks/master
PUBG
2020-12-09 16:45:27 +08:00
shylocks
450f6bd639 PUBG 2020-12-09 16:35:59 +08:00
lxk0301
3a50e770e0 修复报错 2020-12-09 14:56:56 +08:00
lxk0301
f4c287b9b3 Merge remote-tracking branch 'origin/master' 2020-12-09 14:39:10 +08:00
lxk0301
acd4f49c67 同步更新原作者企鹅阅读的1金币问题,圈xtask订阅添加苹果抽奖机脚本 2020-12-09 14:38:56 +08:00
lxk0301
47bb90fb77 Merge pull request #284 from DoveBoy/patch-1
fix云函数点点券20点未领取的bug
2020-12-09 12:55:58 +08:00
DoveBoy
29ea8f6ce4 fix云函数点点券20点未领取的bug
fix云函数点点券20点未领取的bug
2020-12-09 12:53:36 +08:00
lxk0301
ef6ec6858c 京喜工厂脚本添加生产商品的所需电力与已投电力的打印log 2020-12-09 12:10:28 +08:00
lxk0301
6b14109a56 Merge pull request #283 from shylocks/master
修复直播红包雨错误&更新Loon订阅
2020-12-09 10:39:03 +08:00
shylocks
eb5a5f0d15 pretty 2020-12-09 10:32:52 +08:00
shylocks
d0ab9a7297 修复直播红包雨错误 2020-12-09 10:31:18 +08:00
shylocks
f52b8692f2 更新下Loon 2020-12-09 10:27:33 +08:00
shylocks
bdbc36bbe3 Merge pull request #3 from lxk0301/master
Master
2020-12-09 10:21:40 +08:00
lxk0301
36a8a63e68 红包雨更新,否则会提示暂无红包雨 2020-12-09 10:09:50 +08:00
lxk0301
5ca944dd19 Merge pull request #279 from shylocks/master
苹果抽奖机
2020-12-09 09:28:11 +08:00
lxk0301
90d6860cc4 Update jd_dreamFactory.js 2020-12-09 07:48:33 +08:00
shylocks
addb9f1334 苹果抽奖机 2020-12-08 23:33:07 +08:00
shylocks
fd09a22b56 加入时间判断 2020-12-08 22:53:58 +08:00
lxk0301
a11b949203 更新README.md 2020-12-08 19:59:41 +08:00
lxk0301
1315083f71 东东工厂脚本修复bug 2020-12-08 19:55:42 +08:00
lxk0301
a593f76fec 修改icon 2020-12-08 15:25:50 +08:00
lxk0301
94fa0881fd 优化京喜工厂脚本商品可兑换时的通知频率 2020-12-08 15:23:45 +08:00
lxk0301
667d43f793 添加遗漏的小米运动图标 2020-12-08 15:16:38 +08:00
lxk0301
cdb913e938 Merge pull request #270 from Star-20202020/master
Create lxk0301_gallery.json
2020-12-08 15:11:09 +08:00
Star-20202020
e0e98f0995 Update lxk0301_gallery.json 2020-12-08 15:07:03 +08:00
Star-20202020
2b42b18807 Merge pull request #1 from lxk0301/master
Master
2020-12-08 14:40:26 +08:00
Star-20202020
93fc68ef97 Add files via upload 2020-12-08 14:36:36 +08:00
Star-20202020
9f1292134b Create lxk0301_gallery.json 2020-12-08 14:31:20 +08:00
lxk0301
064ad6b79f 优化 2020-12-08 11:31:57 +08:00
lxk0301
c83cd75217 fix 2020-12-08 11:16:24 +08:00
lxk0301
06952d1336 解开docker里面加购得京豆的脚本注释 2020-12-08 10:17:06 +08:00
lxk0301
6268511c03 Merge pull request #267 from shylocks/master
修复直播红包雨
2020-12-08 09:38:55 +08:00
lxk0301
00ec2b8cc8 docker方法一添加新增的脚本 2020-12-08 09:38:19 +08:00
shylocks
a6d804265e 加入时间判断 2020-12-08 09:32:58 +08:00
shylocks
4b65ad5a83 修复红包雨activityID变动的问题 2020-12-08 09:23:10 +08:00
lxk0301
6aedc072d5 优化十元街签到脚本 2020-12-08 09:21:50 +08:00
lxk0301
b3db4586a1 Merge pull request #266 from shylocks/master
数码加购京豆
2020-12-07 23:27:56 +08:00
shylocks
acab9c0661 直播红包雨
每天0,9,11,13,15,17,19,20,21,23可领,每日上限未知
2020-12-07 23:20:27 +08:00
shylocks
fabbf6ea33 Merge branch 'master' of https://github.com/shylocks/jd_scripts 2020-12-07 22:38:46 +08:00
shylocks
b3df0a9d4a 数码加购京豆 2020-12-07 22:37:38 +08:00
shylocks
6080b92a5a Merge pull request #2 from lxk0301/master
Master
2020-12-07 21:15:04 +08:00
lxk0301
d63839da63 Merge pull request #259 from DoveBoy/patch-1
云函数同步新增京东快递、优化jd_bean_sign的Cron
2020-12-07 18:24:09 +08:00
lxk0301
3cf8007061 Merge pull request #257 from lengmolehongyan/master
jd_car env code compress
2020-12-07 18:23:57 +08:00
DoveBoy
7a5a81734d 云函数同步新增京东快递、优化jd_bean_sign的Cron
云函数同步新增京东快递、优化jd_bean_sign的Cron
2020-12-07 18:11:19 +08:00
lxk0301
f6c66c9d0b Merge pull request #254 from DoveBoy/patch-1
云函数同步新增健康抽奖机&京东汽车Cron
2020-12-07 18:03:06 +08:00
lxk0301
d109af0440 update 2020-12-07 17:53:35 +08:00
lxk0301
a7042dc72e Merge pull request #256 from shylocks/master
京东代属脚本
2020-12-07 17:47:15 +08:00
layne
bec9e6cd34 jd_car code compress 2020-12-07 17:43:46 +08:00
shylocks
30d82c3125 京东代属脚本
类似十元街,限校园用户
一周签到下来可获得30京豆,一天任意时刻运行一次即可
2020-12-07 17:40:39 +08:00
lxk0301
f739c4cfc2 Merge pull request #255 from shylocks/master
京东快递签到
2020-12-07 17:06:31 +08:00
shylocks
abccc8384c 京东快递签到
签到领豆,14天内满4次和7次享额外奖励,每天运行一次即可
2020-12-07 16:49:41 +08:00
DoveBoy
4b8ad8a94e 云函数同步新增健康抽奖机&京东汽车Cron
云函数同步新增健康抽奖机&京东汽车Cron
2020-12-07 16:32:21 +08:00
lxk0301
04c5eba3bf Merge pull request #252 from DoveBoy/patch-1
云函数同步新增秒杀红包雨
2020-12-07 16:19:08 +08:00
lxk0301
8c6f59c094 Merge pull request #253 from shylocks/master
京东汽车,签到满500赛点可兑换500京豆
2020-12-07 16:18:39 +08:00
shylocks
d9b159e5ad 京东汽车,签到满500赛点可兑换500京豆 2020-12-07 15:48:56 +08:00
DoveBoy
78d8fe3ef7 云函数同步新增秒杀红包雨
云函数同步新增秒杀红包雨
2020-12-07 15:38:03 +08:00
lxk0301
58ec50a756 Merge pull request #249 from DoveBoy/patch-1
云函数新增领京豆额外奖励Cron
2020-12-07 15:00:14 +08:00
lxk0301
c08727a247 Merge pull request #250 from shylocks/master
健康抽奖机
2020-12-07 14:54:10 +08:00
shylocks
a2b6583535 Merge pull request #1 from lxk0301/master
Master
2020-12-07 14:36:33 +08:00
shylocks
01e561ef4d 健康抽奖机 2020-12-07 14:31:53 +08:00
DoveBoy
319428cb5e 云函数新增领京豆额外奖励Cron
云函数新增领京豆额外奖励Cron
2020-12-07 14:02:01 +08:00
lxk0301
adf38a22a2 Merge pull request #248 from shylocks/master
首页-领京豆-完成5个任务领京豆
2020-12-07 13:52:29 +08:00
shylocks
5998978b4b 首页-领京豆-完成5个任务 2020-12-07 13:40:37 +08:00
lxk0301
dea22daabd 红包雨修改task图标,注释写明活动入口 2020-12-07 11:49:03 +08:00
lxk0301
6719bcb672 docker新增新脚本的定时任务 2020-12-07 11:30:05 +08:00
lxk0301
43b6efc370 秒杀红包雨脚本, 修改一下iOS代理软件的弹窗通知 2020-12-07 11:22:22 +08:00
lxk0301
fc3046f526 Merge pull request #244 from shylocks/master
秒杀红包雨
2020-12-07 11:14:03 +08:00
shylocks
83a8034750 秒杀红包雨 2020-12-07 11:11:14 +08:00
lxk0301
147b372378 短期活动,去掉相关助力配置文件 2020-12-07 11:11:01 +08:00
lxk0301
87a6ad35b9 Merge pull request #242 from shylocks/master
金榜年终奖
2020-12-07 10:52:50 +08:00
shylocks
d24a734d99 修复文件名问题 2020-12-07 10:38:21 +08:00
shylocks
80a58fc80c feat: 完成金榜年终奖 2020-12-07 10:31:37 +08:00
lxk0301
f5d0eeae8d update 2020-12-07 09:52:45 +08:00
lxk0301
a811328489 添加timeout超时 2020-12-07 09:46:35 +08:00
lxk0301
c916d869e5 京喜工厂,新增自动领取劳模电力奖励 2020-12-07 09:27:24 +08:00
lxk0301
be4a0c28c4 修复 东东工厂脚本 每日10-13点巡厂任务未做的bug 2020-12-06 22:57:09 +08:00
lxk0301
0395b983fe 修复bug 2020-12-06 22:34:12 +08:00
lxk0301
a5a93228d7 Merge pull request #230 from DoveBoy/patch-1
同步云函数宠汪汪控制参加多少人比赛的secret
2020-12-06 16:15:27 +08:00
lxk0301
dac6615144 优化京喜工厂脚本商品可兑换时的通知频率
比如兑换(超时)截止时间是2020/12/8 09:20:04,现在时间是2020/12/6
一:在兑换超时这一天(2020/12/8 09:20:04)的前2小时内通知
二:在兑换超时日期前的时间每天仅仅通知三次(2020/12/6 9,10,11点,以及在2020/12/7 9,10,11点各通知一次)
2020-12-06 16:05:17 +08:00
lxk0301
bfee426f6c 京喜工厂优化拾取地下零件功能,达到上限后不再继续,节省脚本运行时间 2020-12-06 14:03:31 +08:00
DoveBoy
4b4c1480e9 同步云函数宠汪汪控制参加多少人比赛的secret
同步云函数宠汪汪控制参加多少人比赛的secret
2020-12-05 22:38:35 +08:00
lxk0301
ddf6628806 update 2020-12-05 21:21:54 +08:00
lxk0301
c5fdbe1c70 优化开红包功能 2020-12-05 20:55:24 +08:00
lxk0301
ed40bf6a16 京喜工厂优化助力好友功能,节省脚本运行时间,新增招工进度显示 2020-12-05 20:20:27 +08:00
lxk0301
0b7289ac47 优化京喜工厂拾取地下零件功能,减少脚本运行时间 2020-12-05 19:58:01 +08:00
lxk0301
9ff7052bb4 宠汪汪赛跑增加控制参加多少人的赛跑比赛,默认还是2人,可通过BoxJs或者环境变量/secret进行控制。环境变量名称JOY_TEAM_LEVEL 2020-12-05 14:46:18 +08:00
lxk0301
417985c2bb 京喜工厂去掉未开通活动和未选购商品时的弹窗通知,只进行打印通知 2020-12-05 14:16:18 +08:00
lxk0301
e9451ffba8 update 2020-12-05 13:54:20 +08:00
lxk0301
c915c26cd8 update 2020-12-04 19:02:45 +08:00
lxk0301
43053fe790 update 2020-12-04 18:55:31 +08:00
lxk0301
8b6484c2d9 优化 2020-12-04 15:31:55 +08:00
lxk0301
1c8bc41ed7 增加自动领取参团的奖励(500电力) 2020-12-04 15:07:31 +08:00
lxk0301
98c82d4eb9 参团以及领取团奖励 2020-12-04 11:54:35 +08:00
lxk0301
5e381c5cec fix bug 2020-12-04 10:19:46 +08:00
lxk0301
b82892707f Update jd_dreamFactory.js 2020-12-04 08:27:37 +08:00
lxk0301
6435999b80 Update jd_dreamFactory.js 2020-12-04 08:11:27 +08:00
lxk0301
c371e27e2a Update jd_dreamFactory.js 2020-12-03 19:11:33 +08:00
lxk0301
7e23a8fd89 Update jd_dreamFactory.js 2020-12-03 18:57:41 +08:00
lxk0301
873b313203 Merge pull request #223 from chongshengB/master
更改京喜工厂ua
2020-12-03 18:42:32 +08:00
lxk0301
1717ee773d 修复显示 收取0电力的问题,增加判断如遇到双倍电力收取达到上限后,不再等集满再收取 2020-12-03 17:33:54 +08:00
chongshengB
fc6ac51c0c 更改京喜工厂ua
脚本自带的ua不能正常给别人助力,替换后正常
2020-12-03 17:02:27 +08:00
lxk0301
f4f55b6ff5 update 2020-12-03 16:57:50 +08:00
lxk0301
e7b60367ca 点击厂长得钞票功能,区分一下手机端和云端 2020-12-03 16:32:57 +08:00
lxk0301
9241ec1fef update 2020-12-03 15:24:44 +08:00
lxk0301
3f6f826613 Merge pull request #220 from deepdark111/master
docker添加京喜故事cron
2020-12-03 08:07:05 +08:00
lxk0301
6555cb13a3 Merge pull request #219 from shylocks/master
feat: 完成好友助力与点击厂长
2020-12-03 08:06:50 +08:00
shylocks
259d1f1af5 feat: 完成好友助力与点击厂长 2020-12-03 00:54:52 +08:00
deepdark111
44b63ec343 docker添加京喜故事cron 2020-12-03 00:54:04 +08:00
deepdark111
c1f847c086 docker添加京喜故事cron 2020-12-03 00:53:29 +08:00
deepdark111
2c6b6eb1a5 docker添加京喜故事cron 2020-12-03 00:52:26 +08:00
lxk0301
c02777ada0 Merge pull request #218 from JohnED512/patch-4
添加缺少的京喜工厂互助码secrets变量
2020-12-02 22:48:37 +08:00
JohnED512
47e1ccaca8 添加缺少的京喜工厂互助码secrets变量 2020-12-02 22:43:46 +08:00
lxk0301
bf1c131cd1 Merge pull request #216 from DoveBoy/patch-1
修正描述性问题
2020-12-02 20:25:57 +08:00
lxk0301
2847678fc2 Merge pull request #212 from shylocks/master
feat: 京喜升级瓜分1亿
2020-12-02 20:16:53 +08:00
lxk0301
fccacffc50 update 2020-12-02 17:04:27 +08:00
lxk0301
3aba5fddc3 添加云端简要使用说明,添加企鹅阅读BoxJs订阅(自用) 2020-12-02 16:28:35 +08:00
lxk0301
ce4ac9e570 update 2020-12-02 16:04:14 +08:00
lxk0301
ca385ad486 update 2020-12-02 15:48:52 +08:00
lxk0301
4078d99374 发现部分所需的token参数里面带有&符号,故换成@分割 2020-12-02 15:24:34 +08:00
lxk0301
f13c00efff update 2020-12-02 15:09:29 +08:00
lxk0301
24cc97580c update 2020-12-02 14:37:42 +08:00
DoveBoy
008ac279c0 修正描述性问题
修正描述性问题
2020-12-02 14:28:26 +08:00
lxk0301
91d5952d2c update 2020-12-02 14:03:11 +08:00
lxk0301
97aa5cdf72 优化企鹅读书脚本,自用 2020-12-02 14:02:14 +08:00
lxk0301
470015e2bc 修改企鹅阅读,云端Node.js专用。 2020-12-02 12:26:09 +08:00
lxk0301
53f4e9b571 update 2020-12-02 12:21:17 +08:00
lxk0301
fec707b838 自用 2020-12-02 11:52:35 +08:00
lxk0301
2ac58bc589 修复部分用户不能领取招工电力奖励的问题 2020-12-02 09:36:15 +08:00
shylocks
467ad83f40 feat: 京喜升级瓜分1亿 2020-12-02 00:35:16 +08:00
lxk0301
82f30b9ccb 东东工厂手机端每天23点运行时弹窗通知一次 2020-12-01 17:57:46 +08:00
lxk0301
75fd614fbd 京喜工厂手机上面运行每天在22点运行的时候通知,暂时去掉偷好友电力。 2020-12-01 17:32:17 +08:00
lxk0301
ccfb74a976 Merge pull request #210 from tiandong21/master
Update README.md
2020-12-01 12:40:04 +08:00
tiandong21
e078052fc3 Update README.md 2020-12-01 12:27:43 +08:00
lxk0301
a96062bcf2 优化随机助力功能 2020-12-01 10:16:39 +08:00
lxk0301
913d5b526d update 2020-12-01 10:07:43 +08:00
lxk0301
8004f30461 京喜工厂的助力好友UA改成京喜APP的 2020-12-01 09:57:00 +08:00
lxk0301
b8e66a71c1 电力翻倍领取成功,恢复偷好友电力与偷好友零件电力功能 2020-11-30 23:11:10 +08:00
lxk0301
274373e222 京喜工厂修复不能活动双倍电力的bug 2020-11-30 21:47:13 +08:00
lxk0301
9bcbafed7c 增加收地下零件获得电力功能,暂时去掉偷好友电力功能(测试双倍电力) 2020-11-30 20:59:46 +08:00
lxk0301
749bd7131a 东东农场脚本新增删除好友功能,好友删除后可以继续拿到邀请奖励 2020-11-30 16:27:22 +08:00
lxk0301
1fb42bdc25 优化萌宠脚本,新增做 "点点券"任务得狗粮 2020-11-30 15:50:11 +08:00
lxk0301
425752e1de 京喜工厂脚本解决IOS系统上面surge软件上面两个cookie只跑一个账号的问题 2020-11-30 14:31:06 +08:00
lxk0301
6151d47a49 fix 2020-11-30 14:24:20 +08:00
lxk0301
3da6b9b4d6 update 2020-11-30 14:16:07 +08:00
lxk0301
2fa3fc8369 update 2020-11-30 13:57:11 +08:00
lxk0301
702a2d612f update 2020-11-30 07:50:33 +08:00
lxk0301
6989dd65d8 update 2020-11-29 23:56:22 +08:00
lxk0301
c1b84d4a5b 东东工厂新增逻辑,在未选择任何商品的情况下,如果此时电量满足兑换数量最多的商品时,发送提醒通知 2020-11-29 23:02:08 +08:00
lxk0301
81cd12e54e update 2020-11-29 20:47:03 +08:00
lxk0301
bb9267326c Merge pull request #207 from DoveBoy/patch-1
优化云函数东东超市Cron
2020-11-29 19:03:17 +08:00
lxk0301
9bbb2b56e5 换用京喜APP的UA 2020-11-29 13:37:52 +08:00
DoveBoy
cc0c703ea1 优化云函数东东超市Cron
优化云函数东东超市Cron
2020-11-29 09:27:42 +08:00
lxk0301
37f2fc107d update 2020-11-28 21:49:10 +08:00
lxk0301
0e9f277b55 自用,半自动提醒心愿单50京豆。 2020-11-28 21:48:19 +08:00
lxk0301
196c59ccb5 update 2020-11-28 20:52:33 +08:00
lxk0301
83417b453c Merge pull request #201 from Jone2008/patch-1
Update index.js
2020-11-28 17:21:20 +08:00
lxk0301
f9122f1c2c update 2020-11-28 16:25:17 +08:00
lxk0301
21214e281a update 2020-11-28 16:23:34 +08:00
lxk0301
f6335ecbd4 Merge pull request #202 from DoveBoy/master
同步更新京喜工厂互助码secret
2020-11-28 15:40:57 +08:00
DoveBoy
39d2cb3205 Update githubAction.md 2020-11-28 15:35:36 +08:00
DoveBoy
96185974a1 Update deploy_tencent_scf.yml 2020-11-28 15:33:34 +08:00
lxk0301
b88b06f425 更新 secret/环境变量 2020-11-28 15:22:30 +08:00
lxk0301
86f825f0c1 update 2020-11-28 15:20:49 +08:00
lxk0301
ac38ab1587 Merge remote-tracking branch 'origin/master' 2020-11-28 15:18:50 +08:00
lxk0301
0723536fb4 重构京喜工厂脚本,上线随机助力功能 2020-11-28 15:18:42 +08:00
Jone2008
15978a4bf7 Update index.js 2020-11-28 13:46:19 +08:00
lxk0301
e38078e5bf Merge pull request #200 from YM1099/patch-1
完善脚本列表
2020-11-28 12:55:25 +08:00
M
0ffabe07ba 修改 2020-11-28 12:54:14 +08:00
lxk0301
5dd0142013 update 2020-11-28 11:31:22 +08:00
lxk0301
7b5402e534 README.md下掉docker方法3,夹带私活从未进行说明,从未注明我原库(https://github.com/lxk0301/jd_scripts/tree/master)任何相关信息 2020-11-28 10:28:13 +08:00
lxk0301
7efb61d228 debug 2020-11-28 09:56:26 +08:00
lxk0301
a78b8c8c5b Update jd_joy_run.js 2020-11-28 08:45:13 +08:00
M
c4d849d596 完善脚本列表 2020-11-27 21:52:40 +08:00
lxk0301
0c5283ab05 Merge pull request #194 from DoveBoy/master
更新教程所需的图片
2020-11-27 19:10:04 +08:00
lxk0301
1b000dc39b debug 2020-11-27 19:02:13 +08:00
lxk0301
1d3fe20c26 debug 2020-11-27 18:41:19 +08:00
lxk0301
b52bc35a92 优化萌宠 2020-11-27 16:01:45 +08:00
lxk0301
a66eccc9b0 debug 2020-11-27 14:33:53 +08:00
DoveBoy
e77ab87265 更新教程所需的图片
更新教程所需的图片
2020-11-27 13:41:25 +08:00
DoveBoy
c50087a747 Delete iCloud5.png 2020-11-27 13:40:56 +08:00
lxk0301
e3caab3d47 新增十元街脚本圈x的task 图标 https://raw.githubusercontent.com/58xinian/icon/master/jd_syj.png 2020-11-27 12:32:55 +08:00
176 changed files with 42740 additions and 124 deletions

View File

@@ -1,79 +0,0 @@
---
name: Bug 反馈
about: 运行js脚本时出现bug
title: ''
labels: ''
assignees: ''
---
<!-- 请先在 issues 页面搜索你的问题包括已关闭的issue很可能已被解决。 -->
<!-- 请先在 issues 页面搜索你的问题包括已关闭的issue很可能已被解决。 -->
<!-- 请先在 issues 页面搜索你的问题包括已关闭的issue很可能已被解决。 -->
<!-- 这是隐藏的信息 -->
<!-- 👆这样括起来的信息将被隐藏,填写时注意不要写在里面。 -->
<!-- 点击编辑器上方的 preview 可预览效果 -->
<!--
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
(重要事情已经说了十遍😅)
-->
## 1.关于你要提交的问题
Q是否搜索了issue包括已关闭的issue
- [ ] 没有类似的issue <!-- 将中括号中的空格替换为 "x" ,即为选中 -->
Q是否仔细阅读了教程
- [ ] 已仔细阅读教程 <!-- 将中括号中的空格替换为 "x" ,即为选中 -->
## 2. 你使用的哪种部署方法
<!-- 将中括号中的空格替换为 "x" ,即为选中 -->
<!-- 将中括号中的空格替换为 "x" ,即为选中 -->
<!-- 将中括号中的空格替换为 "x" ,即为选中 -->
<!-- Github Action的任何问题请自行解决提在这里将直接关闭 -->
<!-- Github Action的任何问题请自行解决提在这里将直接关闭 -->
<!-- Github Action的任何问题请自行解决提在这里将直接关闭 -->
- [ ] 方法一本地安装Node.js <!-- 请注意方法一与js无关的错误要到方法一的链接去提issue -->
- [ ] 方法二:腾讯云函数
- [ ] 方法三Docker办法一
- [ ] 方法三Docker办法二 <!-- 请注意Docker办法二与js无关的错误要到Docker办法二的链接去提issue -->
- [ ] 方法三Docker办法三 <!-- 请注意Docker办法三与js无关的错误要到Docker办法三的链接去提issue -->
- [ ] 方法四iOS系统的代理软件
## 3. 详细叙述
### (1) 具体问题
A
### (2) 详细日志
A
<!-- 如果是Node.js运行js脚本在日志出存在错误需要额外提供以下信息 -->
<!-- 如果是Node.js运行js脚本在日志出存在错误需要额外提供以下信息 -->
<!-- 如果是Node.js运行js脚本在日志出存在错误需要额外提供以下信息 -->
## 4.软件版本和 npm install 结果
### (1) Node.js版本
<!-- 输入 node -v 或 nodejs -v 可查看 -->
A
### (2) npm版本
<!-- 输入 npm -v 可查看 -->
A
### (3)npm install的日志
<!-- 在scripts文件夹下运行npm install 的日志-->
A

View File

@@ -1,44 +0,0 @@
---
name: 功能与建议
about: 请求实现新功能或改进已有功能
title: ''
labels: ''
assignees: ''
---
<!-- 请先在 issues 页面搜索你的问题包括已关闭的issue很可能已被解决。 -->
<!-- 请先在 issues 页面搜索你的问题包括已关闭的issue很可能已被解决。 -->
<!-- 请先在 issues 页面搜索你的问题包括已关闭的issue很可能已被解决。 -->
<!-- 这是隐藏的信息 -->
<!-- 👆这样括起来的信息将被隐藏,填写时注意不要写在里面。 -->
<!-- 点击编辑器上方的 preview 可预览效果 -->
<!--
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
请_完整_填写以下模板描述问题否则反馈将会被系统关闭。
(重要事情已经说了十遍😅)
-->
## 期望增加的功能
<!-- 请在下面详细描述你期望增加什么功能 -->
A
<!-- 如果是期望开发新的薅羊毛功能,需要额外补充以下信息 -->
<!-- 如果是期望开发新的薅羊毛功能,需要额外补充以下信息 -->
<!-- 如果是期望开发新的薅羊毛功能,需要额外补充以下信息 -->
## 入口
<!-- 请详细描述如何进入薅羊毛的界面,最好配图 -->
A

152
.github/workflows/deploy_tencent_scf.yml vendored Normal file
View File

@@ -0,0 +1,152 @@
name: 部署到腾讯云函数
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
if: github.event.repository.owner.id == github.event.sender.id
steps:
- name: Checkout
uses: actions/checkout@v2
with:
repository: ${{ github.repository }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: "安装依赖和serverless工具"
run: |
npm install
sudo npm install serverless -g
- name: "将Secrets里面配置的变量添加到severless.yml里面作为环境变量"
run: |
if [ $JD_COOKIE ]; then sed -i "/variables/a\ JD_COOKIE: $JD_COOKIE" serverless.yml; fi;
if [ $JD_DEBUG ]; then sed -i "/variables/a\ JD_DEBUG: $JD_DEBUG" serverless.yml; fi;
if [ $JD_USER_AGENT ]; then sed -i "/variables/a\ JD_USER_AGENT: $JD_USER_AGENT" serverless.yml; fi;
if [ $PUSH_KEY ]; then sed -i "/variables/a\ PUSH_KEY: $PUSH_KEY" serverless.yml; fi;
if [ $BARK_PUSH ]; then sed -i "/variables/a\ BARK_PUSH: $BARK_PUSH" serverless.yml; fi;
if [ $BARK_SOUND ]; then sed -i "/variables/a\ BARK_SOUND: $BARK_SOUND" serverless.yml; fi;
if [ $TG_BOT_TOKEN ]; then sed -i "/variables/a\ TG_BOT_TOKEN: $TG_BOT_TOKEN" serverless.yml; fi;
if [ $TG_USER_ID ]; then sed -i "/variables/a\ TG_USER_ID: $TG_USER_ID" serverless.yml; fi;
if [ $DD_BOT_TOKEN ]; then sed -i "/variables/a\ DD_BOT_TOKEN: $DD_BOT_TOKEN" serverless.yml; fi;
if [ $DD_BOT_SECRET ]; then sed -i "/variables/a\ DD_BOT_SECRET: $DD_BOT_SECRET" serverless.yml; fi;
if [ $QYWX_KEY ]; then sed -i "/variables/a\ QYWX_KEY: $QYWX_KEY" serverless.yml; fi;
if [ $IGOT_PUSH_KEY ]; then sed -i "/variables/a\ IGOT_PUSH_KEY: $IGOT_PUSH_KEY" serverless.yml; fi;
if [ $QQ_SKEY ]; then sed -i "/variables/a\ QQ_SKEY: $QQ_SKEY" serverless.yml; fi;
if [ $QQ_MODE ]; then sed -i "/variables/a\ QQ_MODE: $QQ_MODE" serverless.yml; fi;
if [ $PUSH_PLUS_TOKEN ]; then sed -i "/variables/a\ PUSH_PLUS_TOKEN: $PUSH_PLUS_TOKEN" serverless.yml; fi;
if [ $PUSH_PLUS_USER ]; then sed -i "/variables/a\ PUSH_PLUS_USER: $PUSH_PLUS_USER" serverless.yml; fi;
if [ $TG_PROXY_HOST ]; then sed -i "/variables/a\ TG_PROXY_HOST: $TG_PROXY_HOST" serverless.yml; fi;
if [ $TG_PROXY_PORT ]; then sed -i "/variables/a\ TG_PROXY_PORT: $TG_PROXY_PORT" serverless.yml; fi;
if [ $FRUITSHARECODES ]; then sed -i "/variables/a\ FRUITSHARECODES: $FRUITSHARECODES" serverless.yml; fi;
if [ $PETSHARECODES ]; then sed -i "/variables/a\ PETSHARECODES: $PETSHARECODES" serverless.yml; fi;
if [ $PLANT_BEAN_SHARECODES ]; then sed -i "/variables/a\ PLANT_BEAN_SHARECODES: $PLANT_BEAN_SHARECODES" serverless.yml; fi;
if [ $SUPERMARKET_SHARECODES ]; then sed -i "/variables/a\ SUPERMARKET_SHARECODES: $SUPERMARKET_SHARECODES" serverless.yml; fi;
if [ $DDFACTORY_SHARECODES ]; then sed -i "/variables/a\ DDFACTORY_SHARECODES: $DDFACTORY_SHARECODES" serverless.yml; fi;
if [ $DREAM_FACTORY_SHARE_CODES ]; then sed -i "/variables/a\ DREAM_FACTORY_SHARE_CODES: $DREAM_FACTORY_SHARE_CODES" serverless.yml; fi;
if [ $JDZZ_SHARECODES ]; then sed -i "/variables/a\ JDZZ_SHARECODES: $JDZZ_SHARECODES" serverless.yml; fi;
if [ $JDJOY_SHARECODES ]; then sed -i "/variables/a\ JDJOY_SHARECODES: $JDJOY_SHARECODES" serverless.yml; fi;
if [ $BOOKSHOP_SHARECODES ]; then sed -i "/variables/a\ BOOKSHOP_SHARECODES: $BOOKSHOP_SHARECODES" serverless.yml; fi;
if [ $JD_CASH_SHARECODES ]; then sed -i "/variables/a\ JD_CASH_SHARECODES: $JD_CASH_SHARECODES" serverless.yml; fi;
if [ $JXNC_SHARECODES ]; then sed -i "/variables/a\ JXNC_SHARECODES: $JXNC_SHARECODES" serverless.yml; fi;
if [ $JDNIAN_SHARECODES ]; then sed -i "/variables/a\ JDNIAN_SHARECODES: $JDNIAN_SHARECODES" serverless.yml; fi;
if [ $JD_BEAN_STOP ]; then sed -i "/variables/a\ JD_BEAN_STOP: $JD_BEAN_STOP" serverless.yml; fi;
if [ $JD_BEAN_SIGN_STOP_NOTIFY ]; then sed -i "/variables/a\ JD_BEAN_SIGN_STOP_NOTIFY: $JD_BEAN_SIGN_STOP_NOTIFY" serverless.yml; fi;
if [ $JD_BEAN_SIGN_NOTIFY_SIMPLE ]; then sed -i "/variables/a\ JD_BEAN_SIGN_NOTIFY_SIMPLE: $JD_BEAN_SIGN_NOTIFY_SIMPLE" serverless.yml; fi;
if [ $PET_NOTIFY_CONTROL ]; then sed -i "/variables/a\ PET_NOTIFY_CONTROL: $PET_NOTIFY_CONTROL" serverless.yml; fi;
if [ $FRUIT_NOTIFY_CONTROL ]; then sed -i "/variables/a\ FRUIT_NOTIFY_CONTROL: $FRUIT_NOTIFY_CONTROL" serverless.yml; fi;
if [ $JD_JOY_REWARD_NOTIFY ]; then sed -i "/variables/a\ JD_JOY_REWARD_NOTIFY: $JD_JOY_REWARD_NOTIFY" serverless.yml; fi;
if [ $JD_818_SHAREID_NOTIFY ]; then sed -i "/variables/a\ JD_818_SHAREID_NOTIFY: $JD_818_SHAREID_NOTIFY" serverless.yml; fi;
if [ $JOY_FEED_COUNT ]; then sed -i "/variables/a\ JOY_FEED_COUNT: $JOY_FEED_COUNT" serverless.yml; fi;
if [ $JOY_HELP_FEED ]; then sed -i "/variables/a\ JOY_HELP_FEED: $JOY_HELP_FEED" serverless.yml; fi;
if [ $JOY_RUN_FLAG ]; then sed -i "/variables/a\ JOY_RUN_FLAG: $JOY_RUN_FLAG" serverless.yml; fi;
if [ $JOY_TEAM_LEVEL ]; then sed -i "/variables/a\ JOY_TEAM_LEVEL: $JOY_TEAM_LEVEL" serverless.yml; fi;
if [ $JD_JOY_REWARD_NAME ]; then sed -i "/variables/a\ JD_JOY_REWARD_NAME: $JD_JOY_REWARD_NAME" serverless.yml; fi;
if [ $MARKET_COIN_TO_BEANS ]; then sed -i "/variables/a\ MARKET_COIN_TO_BEANS: $MARKET_COIN_TO_BEANS" serverless.yml; fi;
if [ $MARKET_REWARD_NOTIFY ]; then sed -i "/variables/a\ MARKET_REWARD_NOTIFY: $MARKET_REWARD_NOTIFY" serverless.yml; fi;
if [ $SUPERMARKET_UPGRADE ]; then sed -i "/variables/a\ SUPERMARKET_UPGRADE: $SUPERMARKET_UPGRADE" serverless.yml; fi;
if [ $BUSINESS_CIRCLE_JUMP ]; then sed -i "/variables/a\ BUSINESS_CIRCLE_JUMP: $BUSINESS_CIRCLE_JUMP" serverless.yml; fi;
if [ $SUPERMARKET_LOTTERY ]; then sed -i "/variables/a\ SUPERMARKET_LOTTERY: $SUPERMARKET_LOTTERY" serverless.yml; fi;
if [ $FRUIT_BEAN_CARD ]; then sed -i "/variables/a\ FRUIT_BEAN_CARD: $FRUIT_BEAN_CARD" serverless.yml; fi;
if [ $UN_SUBSCRIBES ]; then sed -i "/variables/a\ UN_SUBSCRIBES: $UN_SUBSCRIBES" serverless.yml; fi;
if [ $UN_BIND_CARD_NUM ]; then sed -i "/variables/a\ UN_BIND_CARD_NUM: $UN_BIND_CARD_NUM" serverless.yml; fi;
if [ $UN_BIND_STOP_CARD ]; then sed -i "/variables/a\ UN_BIND_STOP_CARD: $UN_BIND_STOP_CARD" serverless.yml; fi;
if [ $JDJOY_HELPSELF ]; then sed -i "/variables/a\ JDJOY_HELPSELF: $JDJOY_HELPSELF" serverless.yml; fi;
if [ $JDJOY_APPLYJDBEAN ]; then sed -i "/variables/a\ JDJOY_APPLYJDBEAN: $JDJOY_APPLYJDBEAN" serverless.yml; fi;
if [ $BUY_JOY_LEVEL ]; then sed -i "/variables/a\ BUY_JOY_LEVEL: $BUY_JOY_LEVEL" serverless.yml; fi;
if [ $MONEY_TREE_SELL_FRUIT ]; then sed -i "/variables/a\ MONEY_TREE_SELL_FRUIT: $MONEY_TREE_SELL_FRUIT" serverless.yml; fi;
if [ $FACTORAY_WANTPRODUCT_NAME ]; then sed -i "/variables/a\ FACTORAY_WANTPRODUCT_NAME: $FACTORAY_WANTPRODUCT_NAME" serverless.yml; fi;
if [ $JXNCTOKENS ]; then sed -i "/variables/a\ JXNCTOKENS: $JXNCTOKENS" serverless.yml; fi;
cat serverless.yml
env
env: #因为直接读取secrets里面的值很多字符不会自动转译导致写入serverless.yml异常所以设置到环境变量在读取环境变量转译过的值
JD_COOKIE: ${{ secrets.JD_COOKIE}}
JD_DEBUG: ${{ secrets.JD_DEBUG}}
JD_USER_AGENT: ${{ secrets.JD_USER_AGENT}}
PUSH_KEY: ${{ secrets.PUSH_KEY}}
BARK_PUSH: ${{ secrets.BARK_PUSH}}
BARK_SOUND: ${{ secrets.BARK_SOUND}}
TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN}}
TG_USER_ID: ${{ secrets.TG_USER_ID}}
DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN}}
DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET}}
QYWX_KEY: ${{ secrets.QYWX_KEY}}
IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY}}
QQ_SKEY: ${{ secrets.QQ_SKEY}}
QQ_MODE: ${{ secrets.QQ_MODE}}
PUSH_PLUS_TOKEN: ${{ secrets.PUSH_PLUS_TOKEN}}
PUSH_PLUS_USER: ${{ secrets.PUSH_PLUS_USER}}
TG_PROXY_HOST: ${{ secrets.TG_PROXY_HOST}}
TG_PROXY_PORT: ${{ secrets.TG_PROXY_PORT}}
FRUITSHARECODES: ${{ secrets.FRUITSHARECODES}}
PETSHARECODES: ${{ secrets.PETSHARECODES}}
PLANT_BEAN_SHARECODES: ${{ secrets.PLANT_BEAN_SHARECODES}}
SUPERMARKET_SHARECODES: ${{ secrets.SUPERMARKET_SHARECODES}}
DDFACTORY_SHARECODES: ${{ secrets.DDFACTORY_SHARECODES}}
DREAM_FACTORY_SHARE_CODES: ${{ secrets.DREAM_FACTORY_SHARE_CODES}}
JDZZ_SHARECODES: ${{ secrets.JDZZ_SHARECODES}}
JDJOY_SHARECODES: ${{ secrets.JDJOY_SHARECODES}}
BOOKSHOP_SHARECODES: ${{ secrets.BOOKSHOP_SHARECODES}}
JD_CASH_SHARECODES: ${{ secrets.JD_CASH_SHARECODES}}
JXNC_SHARECODES: ${{ secrets.JXNC_SHARECODES}}
JDNIAN_SHARECODES: ${{ secrets.JDNIAN_SHARECODES}}
JD_BEAN_STOP: ${{ secrets.JD_BEAN_STOP}}
JD_BEAN_SIGN_STOP_NOTIFY: ${{ secrets.JD_BEAN_SIGN_STOP_NOTIFY}}
JD_BEAN_SIGN_NOTIFY_SIMPLE: ${{ secrets.JD_BEAN_SIGN_NOTIFY_SIMPLE}}
PET_NOTIFY_CONTROL: ${{ secrets.PET_NOTIFY_CONTROL}}
FRUIT_NOTIFY_CONTROL: ${{ secrets.FRUIT_NOTIFY_CONTROL}}
JD_JOY_REWARD_NOTIFY: ${{ secrets.JD_JOY_REWARD_NOTIFY}}
JD_818_SHAREID_NOTIFY: ${{ secrets.JD_818_SHAREID_NOTIFY}}
JOY_FEED_COUNT: ${{ secrets.JOY_FEED_COUNT}}
JOY_HELP_FEED: ${{ secrets.JOY_HELP_FEED}}
JOY_RUN_FLAG: ${{ secrets.JOY_RUN_FLAG}}
JOY_TEAM_LEVEL: ${{ secrets.JOY_TEAM_LEVEL}}
JD_JOY_REWARD_NAME: ${{ secrets.JD_JOY_REWARD_NAME}}
MARKET_COIN_TO_BEANS: ${{ secrets.MARKET_COIN_TO_BEANS}}
MARKET_REWARD_NOTIFY: ${{ secrets.MARKET_REWARD_NOTIFY}}
SUPERMARKET_UPGRADE: ${{ secrets.SUPERMARKET_UPGRADE}}
BUSINESS_CIRCLE_JUMP: ${{ secrets.BUSINESS_CIRCLE_JUMP}}
SUPERMARKET_LOTTERY: ${{ secrets.SUPERMARKET_LOTTERY}}
FRUIT_BEAN_CARD: ${{ secrets.FRUIT_BEAN_CARD}}
UN_SUBSCRIBES: ${{ secrets.UN_SUBSCRIBES}}
UN_BIND_CARD_NUM: ${{ secrets.UN_BIND_CARD_NUM}}
UN_BIND_STOP_CARD: ${{ secrets.UN_BIND_STOP_CARD}}
JDJOY_HELPSELF: ${{ secrets.JDJOY_HELPSELF}}
JDJOY_APPLYJDBEAN: ${{ secrets.JDJOY_APPLYJDBEAN}}
BUY_JOY_LEVEL: ${{ secrets.BUY_JOY_LEVEL}}
MONEY_TREE_SELL_FRUIT: ${{ secrets.MONEY_TREE_SELL_FRUIT}}
FACTORAY_WANTPRODUCT_NAME: ${{ secrets.FACTORAY_WANTPRODUCT_NAME}}
JXNCTOKENS: ${{ secrets.JXNCTOKENS}}
- name: "部署到腾讯云函数"
run: serverless deploy
env:
STAGE: dev
SERVERLESS_PLATFORM_VENDOR: tencent
TENCENT_SECRET_ID: ${{ secrets.TENCENT_SECRET_ID }}
TENCENT_SECRET_KEY: ${{ secrets.TENCENT_SECRET_KEY }}

33
.github/workflows/docker_build.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: 构建JD Scripts镜像
on:
#防止fork乱用action设置只能手动触发构建
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: 构建并推送到Dockerhub镜像仓库
uses: docker/build-push-action@v2
with:
context: .
file: ./docker/Dockerfile
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
push: true
tags: |
lxk0301/jd_scripts:latest

42
.github/workflows/repo_sync.yml vendored Normal file
View File

@@ -0,0 +1,42 @@
# File: .github/workflows/repo-sync.yml
name: sync-LXK9301-scripts
on:
schedule:
- cron: '1 0,15 * * *'
workflow_dispatch:
watch:
types: started
push:
branches: [ master ]
repository_dispatch:
types: sync-LXK9301-scripts
jobs:
repo-sync:
env:
PAT: ${{ secrets.PAT }} #此处PAT需要申请教程详见https://www.jianshu.com/p/bb82b3ad1d11
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} # 我自己同步到gitee使用其他人可忽略
runs-on: ubuntu-latest
if: github.event.repository.owner.id == github.event.sender.id
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: sync LXK9301-scripts
uses: repo-sync/github-sync@v2
if: env.PAT
with:
source_repo: "https://github.com/LXK9301/jd_scripts.git"
source_branch: "master"
destination_branch: "master"
github_token: ${{ secrets.PAT }}
# 我自己同步到gitee使用其他人可忽略
- name: sync github -> gitee
uses: Yikun/hub-mirror-action@master
if: env.dst_key
with:
src: github/LXK9301
dst: gitee/lxk0301
static_list: "jd_scripts"
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}

6
.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
/node_modules/
/.idea
/.history
/box.dat
/CookieSet.json
/jdCookie.js

1
Env.min.js vendored Normal file

File diff suppressed because one or more lines are too long

123
JD_extra_cookie.js Normal file
View File

@@ -0,0 +1,123 @@
/*
感谢github@dompling的PR
Author: 2Ya
Github: https://github.com/dompling
===================
特别说明:
1.获取多个京东cookie的脚本不和NobyDa的京东cookie冲突。
===================
===================
使用方式:在代理软件配置好下方配置后,复制 https://home.m.jd.com/myJd/newhome.action 到浏览器打开 ,在个人中心自动获取 cookie
若弹出成功则正常使用。否则继续再此页面继续刷新一下试试
===================
===================
[MITM]
hostname = wq.jd.com
【Surge脚本配置】:
===================
[Script]
获取京东Cookie = type=http-request,pattern=^https:\/\/wq\.jd\.com\/user_new\/info\/GetJDUserInfoUnion,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/JD_extra_cookie.js,script-update-interval=0
===================
【Loon脚本配置】:
===================
[Script]
http-request https:\/\/wq\.jd\.com\/user_new\/info\/GetJDUserInfoUnion tag=获取京东Cookie, script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/JD_extra_cookie.js
===================
【 QX 脚本配置 】 :
===================
[rewrite_local]
https:\/\/wq\.jd\.com\/user_new\/info\/GetJDUserInfoUnion url script-request-header https://raw.githubusercontent.com/LXK9301/jd_scripts/master/JD_extra_cookie.js
*/
const APIKey = "CookiesJD";
$ = new API(APIKey, true);
const CacheKey = `#${APIKey}`;
if ($request) GetCookie();
function getCache() {
var cache = $.read(CacheKey) || "[]";
$.log(cache);
return JSON.parse(cache);
}
function GetCookie() {
try {
if ($request.headers && $request.url.indexOf("GetJDUserInfoUnion") > -1) {
var CV = $request.headers["Cookie"] || $request.headers["cookie"];
if (CV.match(/(pt_key=.+?pt_pin=|pt_pin=.+?pt_key=)/)) {
var CookieValue = CV.match(/pt_key=.+?;/) + CV.match(/pt_pin=.+?;/);
var UserName = CookieValue.match(/pt_pin=(.+?);/)[1];
var DecodeName = decodeURIComponent(UserName);
var CookiesData = getCache();
var updateCookiesData = [...CookiesData];
var updateIndex;
var CookieName = "【账号】";
var updateCodkie = CookiesData.find((item, index) => {
var ck = item.cookie;
var Account = ck
? ck.match(/pt_pin=.+?;/)
? ck.match(/pt_pin=(.+?);/)[1]
: null
: null;
const verify = UserName === Account;
if (verify) {
updateIndex = index;
}
return verify;
});
var tipPrefix = "";
if (updateCodkie) {
updateCookiesData[updateIndex].cookie = CookieValue;
CookieName = `【账号${updateIndex + 1}`;
tipPrefix = "更新京东";
} else {
updateCookiesData.push({
userName: DecodeName,
cookie: CookieValue,
});
CookieName = "【账号" + updateCookiesData.length + "】";
tipPrefix = "首次写入京东";
}
const cacheValue = JSON.stringify(updateCookiesData, null, "\t");
$.write(cacheValue, CacheKey);
$.notify(
"用户名: " + DecodeName,
"",
tipPrefix + CookieName + "Cookie成功 🎉"
);
} else {
$.notify("写入京东Cookie失败", "", "请查看脚本内说明, 登录网页获取 ‼️");
}
$.done();
return;
} else {
$.notify("写入京东Cookie失败", "", "请检查匹配URL或配置内脚本类型 ‼️");
}
} catch (eor) {
$.write("", CacheKey);
$.notify("写入京东Cookie失败", "", "已尝试清空历史Cookie, 请重试 ⚠️");
console.log(
`\n写入京东Cookie出现错误 ‼️\n${JSON.stringify(
eor
)}\n\n${eor}\n\n${JSON.stringify($request.headers)}\n`
);
}
$.done();
}
// prettier-ignore
function ENV(){const isQX=typeof $task!=="undefined";const isLoon=typeof $loon!=="undefined";const isSurge=typeof $httpClient!=="undefined"&&!isLoon;const isJSBox=typeof require=="function"&&typeof $jsbox!="undefined";const isNode=typeof require=="function"&&!isJSBox;const isRequest=typeof $request!=="undefined";const isScriptable=typeof importModule!=="undefined";return{isQX,isLoon,isSurge,isNode,isJSBox,isRequest,isScriptable}}
// prettier-ignore
function HTTP(baseURL,defaultOptions={}){const{isQX,isLoon,isSurge,isScriptable,isNode}=ENV();const methods=["GET","POST","PUT","DELETE","HEAD","OPTIONS","PATCH"];function send(method,options){options=typeof options==="string"?{url:options}:options;options.url=baseURL?baseURL+options.url:options.url;options={...defaultOptions,...options};const timeout=options.timeout;const events={...{onRequest:()=>{},onResponse:(resp)=>resp,onTimeout:()=>{},},...options.events,};events.onRequest(method,options);let worker;if(isQX){worker=$task.fetch({method,...options})}else if(isLoon||isSurge||isNode){worker=new Promise((resolve,reject)=>{const request=isNode?require("request"):$httpClient;request[method.toLowerCase()](options,(err,response,body)=>{if(err)reject(err);else resolve({statusCode:response.status||response.statusCode,headers:response.headers,body,})})})}else if(isScriptable){const request=new Request(options.url);request.method=method;request.headers=options.headers;request.body=options.body;worker=new Promise((resolve,reject)=>{request.loadString().then((body)=>{resolve({statusCode:request.response.statusCode,headers:request.response.headers,body,})}).catch((err)=>reject(err))})}let timeoutid;const timer=timeout?new Promise((_,reject)=>{timeoutid=setTimeout(()=>{events.onTimeout();return reject(`${method}URL:${options.url}exceeds the timeout ${timeout}ms`)},timeout)}):null;return(timer?Promise.race([timer,worker]).then((res)=>{clearTimeout(timeoutid);return res}):worker).then((resp)=>events.onResponse(resp))}const http={};methods.forEach((method)=>(http[method.toLowerCase()]=(options)=>send(method,options)));return http}
// prettier-ignore
function API(name="untitled",debug=false){const{isQX,isLoon,isSurge,isNode,isJSBox,isScriptable}=ENV();return new(class{constructor(name,debug){this.name=name;this.debug=debug;this.http=HTTP();this.env=ENV();this.node=(()=>{if(isNode){const fs=require("fs");return{fs}}else{return null}})();this.initCache();const delay=(t,v)=>new Promise(function(resolve){setTimeout(resolve.bind(null,v),t)});Promise.prototype.delay=function(t){return this.then(function(v){return delay(t,v)})}}initCache(){if(isQX)this.cache=JSON.parse($prefs.valueForKey(this.name)||"{}");if(isLoon||isSurge)this.cache=JSON.parse($persistentStore.read(this.name)||"{}");if(isNode){let fpath="root.json";if(!this.node.fs.existsSync(fpath)){this.node.fs.writeFileSync(fpath,JSON.stringify({}),{flag:"wx"},(err)=>console.log(err))}this.root={};fpath=`${this.name}.json`;if(!this.node.fs.existsSync(fpath)){this.node.fs.writeFileSync(fpath,JSON.stringify({}),{flag:"wx"},(err)=>console.log(err));this.cache={}}else{this.cache=JSON.parse(this.node.fs.readFileSync(`${this.name}.json`))}}}persistCache(){const data=JSON.stringify(this.cache);if(isQX)$prefs.setValueForKey(data,this.name);if(isLoon||isSurge)$persistentStore.write(data,this.name);if(isNode){this.node.fs.writeFileSync(`${this.name}.json`,data,{flag:"w"},(err)=>console.log(err));this.node.fs.writeFileSync("root.json",JSON.stringify(this.root),{flag:"w"},(err)=>console.log(err))}}write(data,key){this.log(`SET ${key}`);if(key.indexOf("#")!==-1){key=key.substr(1);if(isSurge||isLoon){return $persistentStore.write(data,key)}if(isQX){return $prefs.setValueForKey(data,key)}if(isNode){this.root[key]=data}}else{this.cache[key]=data}this.persistCache()}read(key){this.log(`READ ${key}`);if(key.indexOf("#")!==-1){key=key.substr(1);if(isSurge||isLoon){return $persistentStore.read(key)}if(isQX){return $prefs.valueForKey(key)}if(isNode){return this.root[key]}}else{return this.cache[key]}}delete(key){this.log(`DELETE ${key}`);if(key.indexOf("#")!==-1){key=key.substr(1);if(isSurge||isLoon){$persistentStore.write(null,key)}if(isQX){$prefs.removeValueForKey(key)}if(isNode){delete this.root[key]}}else{delete this.cache[key]}this.persistCache()}notify(title,subtitle="",content="",options={}){const openURL=options["open-url"];const mediaURL=options["media-url"];if(isQX)$notify(title,subtitle,content,options);if(isSurge){$notification.post(title,subtitle,content+`${mediaURL?"\n多媒体:"+mediaURL:""}`,{url:openURL})}if(isLoon){let opts={};if(openURL)opts["openUrl"]=openURL;if(mediaURL)opts["mediaUrl"]=mediaURL;if(JSON.stringify(opts)=="{}"){$notification.post(title,subtitle,content)}else{$notification.post(title,subtitle,content,opts)}}if(isNode||isScriptable){const content_=content+(openURL?`\n点击跳转:${openURL}`:"")+(mediaURL?`\n多媒体:${mediaURL}`:"");if(isJSBox){const push=require("push");push.schedule({title:title,body:(subtitle?subtitle+"\n":"")+content_,})}else{console.log(`${title}\n${subtitle}\n${content_}\n\n`)}}}log(msg){if(this.debug)console.log(msg)}info(msg){console.log(msg)}error(msg){console.log("ERROR: "+msg)}wait(millisec){return new Promise((resolve)=>setTimeout(resolve,millisec))}done(value={}){if(isQX||isLoon||isSurge){$done(value)}else if(isNode&&!isJSBox){if(typeof $context!=="undefined"){$context.headers=value.headers;$context.statusCode=value.statusCode;$context.body=value.body}}}})(name,debug)}

674
LICENSE Normal file
View File

@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

135
Loon/lxk0301_LoonTask.conf Normal file
View File

@@ -0,0 +1,135 @@
# Loon软件Task配置 By LXK9301
# GitHub主页(https://github.com/LXK9301/jd_scripts)
# TG讨论组 (https://t.me/JD_fruit_pet)
# TG通知频道 (https://t.me/jdfruit)
# Loon的Task脚本订阅链接: https://raw.githubusercontent.com/LXK9301/jd_scripts/master/Loon/lxk0301_LoonTask.conf
# 使用方法:打开APP顶部的配置 -> 脚本 -> 订阅脚本- > 点击右上角+号 -> 添加url链接 (https://raw.githubusercontent.com/LXK9301/jd_scripts/master/Loon/lxk0301_LoonTask.conf)
hostname = api.m.jd.com, draw.jdfcloud.com, jdjoy.jd.com, account.huami.com
# 东东农场
cron "5 6-18/6 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_fruit.js,tag=东东农场
# 东东萌宠
cron "10 7-19/6 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_pet.js,tag=东东萌宠
# 京东种豆得豆
cron "1 7-21/2 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_plantBean.js,tag=京东种豆得豆
# 宠汪汪(主要是日常任务,不过里面也有喂食和领取三餐狗粮)
cron "15 1,7,9,12,18,21 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy.js,tag=宠汪汪
# 宠汪汪喂食
cron "12 */1 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_feedPets.js,tag=宠汪汪喂食
# 宠汪汪偷好友积分与狗粮
cron "0 0,6 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_steal.js,tag=宠汪汪偷好友积分与狗粮
# 宠汪汪积分兑换奖品
cron "0 0,8,12,16 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_reward.js,tag=宠汪汪积分兑换奖品
# 京东天天加速
cron "8 */3 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_speed.js,tag=京东天天加速
# 京东摇钱树
cron "3 */5 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_moneyTree.js,tag=京东摇钱树
# 京小超
cron "11 1-23/2 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_superMarket.js,tag=京小超
# 京小超兑换奖品
cron "0,30 0 0 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_blueCoin.js,tag=京小超兑换奖品
# 取关京东店铺商品
cron "55 23 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_unsubscribe.js,tag=取关京东店铺商品
# 进店领豆
cron "10 0 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_shop.js,tag=进店领豆
#摇京豆
cron "5 0 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_club_lottery.js,tag=摇京豆
#京东全民开红包
cron "1 1 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_redPacket.js, tag=京东全民开红包
#京豆变动通知
cron "2 9 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_bean_change.js, tag=京豆变动通知
#点点券
cron "20 0,20 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_necklace.js, tag=点点券
#十元街
cron "10 7 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_syj.js, tag=十元街
#东东小窝
cron "16 0 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_small_home.js, tag=东东小窝
#京喜工厂
cron "26 * * * *" script-path= https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_dreamFactory.js, tag=京喜工厂
#东东工厂
cron "10 * * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_jdfactory.js,tag=东东工厂
#宠汪汪邀请助力与赛跑助力
cron "15 10 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_run.js, tag=宠汪汪邀请助力与赛跑助力
#小米运动
cron "25 17 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/backUp/xmSports.js, tag=小米运动
#宠汪汪助力更新Token
http-response ^https:\/\/draw\.jdfcloud\.com(\/mirror)?\/\/api\/user\/addUser\?code= script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_run.js, requires-body=true, timeout=10, tag=宠汪汪助力更新Token
#宠汪汪助力获取Token
http-request ^https:\/\/draw\.jdfcloud\.com(\/mirror)?\/\/api\/user\/user\/detail\?openId= script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_run.js, requires-body=true, timeout=10, tag=宠汪汪助力获取Token
# 宠汪汪强制为别人助力
http-request ^https:\/\/draw\.jdfcloud\.com(\/mirror)?\/\/pet\/enterRoom\/h5\?reqSource=weapp&invitePin=.*+(&inviteSource=task_invite&shareSource=\w+&inviteTimeStamp=\d+&openId=\w+)?|^https:\/\/draw\.jdfcloud\.com(\/mirror)?\/\/pet\/helpFriend\?friendPin script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_help.js, requires-body=true, timeout=10, tag=宠汪汪强制为别人助力
#聚宝盆投狗粮辅助(github@Zero-S1搬的)
http-response ^https:\/\/jdjoy\.jd\.com\/pet\/getPetTreasureBox|^https:\/\/draw\.jdfcloud\.com(\/mirror)?\/\/pet\/getPetTreasureBox script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_petTreasureBox.js, requires-body=true, timeout=10, tag=聚宝盆投狗粮辅助
# 小米运动获取Token
http-response ^https:\/\/account\.huami\.com\/v2\/client\/login script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/backUp/xmSports.js, requires-body=true, timeout=10, tag=小米运动获取Token
# 京东代属
# cron "10 7 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_ds.js, tag=京东代属
# 京东快递
cron "10 0 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_kd.js, tag=京东快递签到
# 京东汽车
cron "0 0 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_car.js, tag=京东汽车
# 领京豆额外奖励
cron "10 7 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_bean_home.js, tag=领京豆额外奖励
# 京东健康
#cron "3 8 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_jdh.js,tag=京东健康
# 京东赚赚
cron "10 11 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_jdzz.js, tag=京东赚赚
# 京东秒杀红包雨
# cron "10 7 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_ms_redrain.js, tag=秒杀红包雨
#注销京东店铺会员卡
cron "23 12 * * 6" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_unbind.js, tag=注销京东店铺会员卡
# 京东直播
cron "10-20/5 12 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_live.js, tag=京东直播
# 京东看一看
# cron "40 9,10 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_watch.js, tag=京东看一看
#直播红包雨
# cron "1 0,20,9-23/2 15-31 12 *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_live_redrain.js, tag=直播红包雨
# 金融打卡领年终奖
# cron "10 6 1-31 12 *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jr_sign.js, tag=金融打卡领年终奖
# 健康抽奖机
#cron "10 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_health.js,tag=健康抽奖机
# 疯狂的joy日常任务
cron "30 8 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_crazy_joy.js,tag=疯狂的joy日常任务
#京喜签到
cron "5 8 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jx_sign.js,tag=京喜签到
#京东汽车兑换
cron "0 0 0 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_car_exchange.js, tag=京东汽车兑换
#京东家庭号
cron "11 * * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_family.js,tag=京东家庭号
#口袋书店
cron "1 8,12,18 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_bookshop.js, tag=口袋书店
#京东年货节
cron "1 7 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_nh.js,tag=京东年货节

Binary file not shown.

After

Width:  |  Height:  |  Size: 662 KiB

View File

@@ -0,0 +1,41 @@
{
"name": "LXK9301 task gallery",
"description": "https://github.com/LXK9301/jd_scripts",
"task": [
"5 6-18/6 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_fruit.js, tag=东东农场 , img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdnc.png",
"20 7-19/6 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_pet.js, tag=东东萌宠 , img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdmc.png",
"10 7-21/2 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_plantBean.js, tag=京东种豆得豆 , img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdzd.png",
"15 1,7,9,12,18,21 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy.js, tag=宠汪汪, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png",
"12 */1 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_feedPets.js, tag=宠汪汪喂食 , img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png",
"0 0,6 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_steal.js, tag=宠汪汪偷好友积分与狗粮 , img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png",
"1 0,8,12,16 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_reward.js , tag=宠汪汪积分兑换奖品 , img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png",
"8 */3 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_speed.js , tag=京东天天加速 , img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdjs.png",
"15 */5 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_moneyTree.js , tag=京东摇钱树 , img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdyqs.png",
"5 0 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_club_lottery.js , tag=摇京豆 , img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdyjd.png",
"11 1-23/5 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_superMarket.js , tag=京小超 , img-url=https://raw.githubusercontent.com/58xinian/icon/master/jxc.png",
"0,30 0 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_blueCoin.js , tag=京小超兑换奖品 , img-url=https://raw.githubusercontent.com/58xinian/icon/master/jxc.png",
"55 23 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_unsubscribe.js , tag=取关京东店铺商品 , img-url=https://raw.githubusercontent.com/Orz-3/task/master/jd.png",
"10 0 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_shop.js , tag=进店领豆 , img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_shop.png",
"15 10 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_run.js , tag=宠汪汪邀请助力与赛跑助力 , img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png",
"1 1 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_redPacket.js , tag=京东全民开红包 , img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_redPacket.png",
"2 9 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_bean_change.js , tag=京豆变动通知 , img-url=https://raw.githubusercontent.com/Orz-3/task/master/jd.png",
"20 0,20 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_necklace.js , tag=点点券 , img-url=https://raw.githubusercontent.com/Orz-3/task/master/jd.png",
"10 * * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_dreamFactory.js, tag=京喜工厂, img-url=https://github.com/58xinian/icon/raw/master/jdgc.png",
"13 7 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_small_home.js, tag=东东小窝, img-url=https://github.com/58xinian/icon/raw/master/ddxw.png",
"10 * * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_jdfactory.js, tag=东东工厂, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_factory.png",
"0 7 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_syj.js, tag=十元街, img-url=https://github.com/58xinian/icon/raw/master/jd_syj.png",
"10 6 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_bean_home.js, tag=领京豆额外奖励, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_bean_home.png",
"0 0 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_car.js, tag=京东汽车, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_car.png",
"10 0 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_kd.js, tag=京东快递签到, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_kd.png",
"10-20/5 12 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_live.js, tag=京东直播, img-url= https://raw.githubusercontent.com/58xinian/icon/master/jd_live_redrain.png",
"14 11 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_jdzz.js, tag=京东赚赚, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdzz.png",
"44 12 * * 6 https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_unbind.js, tag=注销京东店铺会员卡, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_unbind.png",
"30 8 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_crazy_joy.js, tag=crazyJoy任务, img-url=https://raw.githubusercontent.com/Orz-3/task/master/jd.png",
"15 17 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/backUp/xmSports.js, tag=小米运动, img-url=https://raw.githubusercontent.com/58xinian/icon/master/xmyd.png",
"0 0 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_car_exchange.js, tag=京东汽车兑换, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_redPacket.png",
"0 0 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_bookshop.js, tag=口袋书店, img-url=https://raw.githubusercontent.com/Orz-3/task/master/jd.png",
"5 0 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jx_sign.js, tag=京喜签到, img-url=https://raw.githubusercontent.com/Orz-3/task/master/jd.png",
"2 0 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_cash.js, tag=签到领现金, img-url=https://raw.githubusercontent.com/Orz-3/task/master/jd.png",
"1 7 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_nh.js, tag=京东年货节, img-url=https://raw.githubusercontent.com/Orz-3/task/master/jd.png"
]
}

132
README.md
View File

@@ -1 +1,131 @@
See you later
## 请勿使用github action、滥用github资源会封我仓库以及账号[详见](https://github.com/LXK9301/jd_scripts/issues/3)
## 特别声明:
* 本仓库发布的Script项目中涉及的任何解锁和解密分析脚本仅用于测试和学习研究禁止用于商业用途不能保证其合法性准确性完整性和有效性请根据情况自行判断.
* 本项目内所有资源文件,禁止任何公众号、自媒体进行任何形式的转载、发布。
* LXK9301对任何脚本问题概不负责包括但不限于由任何脚本错误导致的任何损失或损害.
* 间接使用脚本的任何用户包括但不限于建立VPS或在某些行为违反国家/地区法律或相关法规的情况下进行传播, LXK9301 对于由此引起的任何隐私泄漏或其他后果概不负责.
* 请勿将Script项目的任何内容用于商业或非法目的否则后果自负.
* 如果任何单位或个人认为该项目的脚本可能涉嫌侵犯其权利,则应及时通知并提供身份证明,所有权证明,我们将在收到认证文件后删除相关脚本.
* 任何以任何方式查看此项目的人或直接或间接使用该Script项目的任何脚本的使用者都应仔细阅读此声明。LXK9301 保留随时更改或补充此免责声明的权利。一旦使用并复制了任何相关脚本或Script项目的规则则视为您已接受此免责声明.
**您必须在下载后的24小时内从计算机或手机中完全删除以上内容.** </br>
> ***您使用或者复制了本仓库且本人制作的任何脚本,则视为`已接受`此声明,请仔细阅读***
## Script脚本列表
#### 说明
1. 其中 [jd_bean_sign.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_bean_sign.js) 可N个京东账号Node.js专用核心脚本是JD_DailyBonus.js IOS软件用户请使用NobyDa的 [JD_DailyBonus.js](https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js)
2. 以字母排序。
| 活动时长 | 名称 | 脚本 |
| -------- | --------------------------------- | -------------------------------------------------------------------------------------------------------- |
| 长期 | 京豆变动通知 | [jd_bean_change.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_bean_change.js) |
| 长期 | 领京豆额外奖励&抢京豆 | [jd_bean_home.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_bean_home.js) |
| 长期 | 京东多合一签到 | [jd_bean_sign.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_bean_sign.js) |
| 长期 | 东东超市兑换奖品 | [jd_blueCoin.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_blueCoin.js) |
| 长期 | 口袋书店 | [jd_bookshop.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_bookshop.js) |
| 长期 | 京东汽车赛点兑换京豆 | [jd_car_exchange.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_car_exchange.js) |
| 长期 | 签到领现金 | [jd_cash.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_cash.js) |
| 长期 | 京东汽车签到 | [jd_car.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_car.js) |
| 长期 | 摇京豆 | [jd_club_lottery.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_club_lottery.js) |
| 长期 | 疯狂的JOY挂机 | [jd_crazy_joy_coin.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_crazy_joy_coin.js) |
| 长期 | 疯狂的JOY日常任务 | [jd_crazy_joy.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_crazy_joy.js) |
| 长期 | 京东金融-天天提鹅 | [jd_daily_egg.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_daily_egg.js) |
| 长期 | 京喜工厂 | [jd_dreamFactory.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_dreamFactory.js) |
| 长期 | 东东农场 | [jd_fruit.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_fruit.js) |
| 长期 | 宠汪汪 | [jd_joy.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy.js) |
| 长期 | 获取所有互助码 | [jd_get_share_code.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_get_share_code.js) |
| 长期 | 东东工厂 | [jd_jdfactory.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_jdfactory.js) |
| 长期 | 京东赚赚 | [jd_jdzz.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_jdzz.js) |
| 长期 | 宠汪汪单独喂食 | [jd_joy_feedPets.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_feedPets.js) |
| 长期 | 宠汪汪强制为好友助力iOS端专用 | [jd_joy_help.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_help.js) |
| 长期 | 宠汪汪聚宝盆辅助脚本iOS端专用 | [jd_petTreasureBox.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_petTreasureBox.js) |
| 长期 | 宠汪汪兑换奖品 | [jd_joy_reward.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_reward.js) |
| 长期 | 宠汪汪赛跑助力 | [jd_joy_run.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_run.js) |
| 长期 | 宠汪汪偷好友狗粮与积分 | [jd_joy_steal.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_steal.js) |
| 长期 | 宠汪汪 | [jd_joy.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy.js) |
| 长期 | 京喜农场 | [jd_jxnc.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_jxnc.js) |
| 长期 | 京东快递签到 | [jd_kd.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_kd.js) |
| 长期 | 京东直播 | [jd_live.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_live.js) |
| 长期 | 京东抽奖机 | [jd_lotteryMachine.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_lotteryMachine.js) |
| 长期 | 摇钱树 | [jd_moneyTree.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_moneyTree.js) |
| 长期 | 点点券 | [jd_necklace.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_necklace.js) |
| 长期 | 东东萌宠 | [jd_pet.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_pet.js) |
| 长期 | 金融养猪 | [jd_pigPet.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_pigPet.js) |
| 长期 | 种豆得豆 | [jd_plantBean.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_plantBean.js) |
| 长期 | 京东排行榜签到得京豆 | [jd_rankingList.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_rankingList.js) |
| 长期 | 全民开红包 | [jd_redPacket.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_redPacket.js) |
| 长期 | 进店领豆 | [jd_shop.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_shop.js) |
| 长期 | 东东小窝 | [jd_small_home.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_small_home.js) |
| 长期 | 天天加速 | [jd_speed.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_speed.js) |
| 长期 | 东东超市 | [jd_superMarket.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_superMarket.js) |
| 长期 | 十元街 | [jd_syj.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_syj.js) |
| 长期 | 注销京东会员卡 | [jd_unbind.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_unbind.js) |
| 长期 | 取关京东店铺和商品 | [jd_unsubscribe.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_unsubscribe.js) |
| 长期 | 京喜签到 | [jx_sign.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jx_sign.js) |
搬运脚本
1. 【[@yangtingxiao](https://github.com/yangtingxiao)】京东抽奖机([jd_lotteryMachine.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_lotteryMachine.js))
2. 【[@yangtingxiao](https://github.com/yangtingxiao)】京东排行榜([jd_rankingList.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_rankingList.js))
**脚本兼容: [QuantumultX](https://apps.apple.com/us/app/quantumult-x/id1443988620), [Surge](https://apps.apple.com/us/app/surge-4/id1442620678), [Loon](https://apps.apple.com/us/app/loon/id1373567447), 小火箭, JSBox, Node.js**
**TODO**
- [x] 所有活动互助码在一个脚本打印
## 邀请码互助
- [邀请码互助入口](https://github.com/LXK9301/jd_scripts/discussions)
- [获取各类活动互助码脚本 jd_get_share_code.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_get_share_code.js)
- [邀请码使用规范](githubAction.md#互助码类环境变量)(仅限云端)
## 食用方法
### 方法一本地安装Node.js下载本库脚本
- 教程请见:[EvineDeng/jd-base](https://github.com/EvineDeng/jd-base),适用于以下系统:
1. Armbian/OpenWrt/Debian/Ubuntu/CentOS/Fedora/RedHat等Linux系统
2. Android
3. MacOS
### 方法二DockerNAS或VPS用户
- 可以精确控制任务运行时间,有二种办法:[docker办法一](https://github.com/LXK9301/jd_scripts/tree/master/docker)、[docker办法二和本地安装Node.js类似](https://github.com/EvineDeng/jd-base)
- [环境变量集合](https://github.com/LXK9301/jd_scripts/blob/master/githubAction.md)
#### 注以上2种运行机制都是Node.js故您需仔细阅读下面几点
- 获取京东cookie教程可参考 [浏览器获取京东cookie教程](https://github.com/LXK9301/jd_scripts/blob/master/backUp/GetJdCookie.md) , [插件获取京东cookie教程](https://github.com/LXK9301/jd_scripts/blob/master/backUp/GetJdCookie2.md)
- 京东APP扫码获取cookie(此种方式获取的cookie有效期为90天)(执行`node getJDCookie.js`即可)
- 方法二Docker安装Cookie请见各自的说明。
### 方法三iOS系统的代理软件QuantumultX, Surge, Loon, 小火箭)
- [京东cookie获取脚本 JD_extra_cookie.js](https://raw.githubusercontent.com/LXK9301/jd_scripts/master/JD_extra_cookie.js)
### 赞赏码(开发维护不易,请赏杯茶水费)
<div align=center><img width="250" height="250" src="./icon/thanks.jpg"/></div>
### 特别感谢(排名不分先后)
* [@NobyDa](https://github.com/NobyDa)
* [@chavyleung](https://github.com/chavyleung)
* [@liuxiaoyucc](https://github.com/liuxiaoyucc)
* [@Zero-S1](https://github.com/Zero-S1)
* [@uniqueque](https://github.com/uniqueque)
* [@nzw9314](https://github.com/nzw9314)

View File

@@ -0,0 +1,82 @@
#!name=LXK9301 iOS Tasks Module
#!desc=iOS Tasks 模块配置
# Task模块配置 By LXK9301
# GitHub主页(https://github.com/LXK9301/jd_scripts)
# TG讨论组 (https://t.me/JD_fruit_pet)
# TG通知频道 (https://t.me/jdfruit)
# Surge的Task脚本模块地址: https://raw.githubusercontent.com/LXK9301/jd_scripts/master/Surge/lxk0301_Task.sgmodule.sgmodule
[Script]
#东东农场
cron "40 8-18/5 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_fruit.js,timeout=530, wake-system=1, tag=东东农场
#东东萌宠
cron "20 8-18/5 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_pet.js,timeout=530, wake-system=1, tag=东东萌宠
#京东种豆得豆
cron "50 7-21/2 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_plantBean.js,timeout=630, wake-system=1, tag=京东种豆得豆
#宠汪汪
cron "15 1,7,9,12,18,21 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy.js,timeout=330, wake-system=1, tag=宠汪汪
#宠汪汪喂食(仅喂食)
cron "12 */1 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_feedPets.js,timeout=30, wake-system=1, tag=宠汪汪喂食
#宠汪汪偷好友积分与狗粮
cron "0 0,6 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_steal.js,timeout=1420, wake-system=1, tag=宠汪汪偷好友积分与狗粮
#宠汪汪积分兑换奖品
cron "0 0,8,12,16 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_reward.js,timeout=130, wake-system=1, tag=宠汪汪积分兑换奖品
#京东天天加速
cron "8 */3 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_speed.js,timeout=130, wake-system=1, tag=京东天天加速
#京东摇钱树
cron "15 */5 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_moneyTree.js,timeout=130, wake-system=1, tag=京东摇钱树
#摇京豆
cron "5 0 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_club_lottery.js, timeout=1150, wake-system=1, tag=摇京豆
#京小超
cron "11 1-23/5 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_superMarket.js,timeout=530, wake-system=1, tag=京小超
京小超兑换奖品
cron "0,30 0 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_blueCoin.js,timeout=130, wake-system=1, tag=京小超兑换奖品
#取关京东店铺商品
cron "55 23 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_unsubscribe.js,timeout=250, wake-system=1, tag=取关京东店铺商品
#进店领豆
cron "10 0 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_shop.js,timeout=130, wake-system=1, tag=进店领豆
#宠汪汪邀请助力与赛跑助力
cron "15 10 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_run.js, timeout=230, wake-system=1, tag=宠汪汪邀请助力与赛跑助力
#京东全民开红包
cron "1 1 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_redPacket.js, wake-system=1, tag=京东全民开红包
#京豆变动通知
cron "2 9 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_bean_change.js, timeout=650, wake-system=1, tag=京豆变动通知
#点点券
cron "30 0,20 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_necklace.js, timeout=650, wake-system=1, tag=点点券
#京喜工厂
cron "24 * * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_dreamFactory.js, timeout=650, wake-system=1, tag=京喜工厂
#东东工厂
cron "40 * * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_jdfactory.js, timeout=650, wake-system=1, tag=东东工厂
#东东小窝
cron "10 7 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_small_home.js, timeout=650, wake-system=1, tag=东东小窝
#十元街
cron "40 8 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_syj.js, timeout=650, wake-system=1, tag=十元街
#领京豆额外奖励
cron "30 10 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_bean_home.js, timeout=750, wake-system=1, tag=领京豆额外奖励
#京东汽车
cron "0 10 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_car.js, timeout=750, wake-system=1, tag=京东汽车
#京东汽车积分兑换京豆
cron "0 0 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_car_exchange.js, timeout=2750, wake-system=1, tag=京东汽车积分兑换京豆
#京东快递签到
cron "20 11 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_kd.js, timeout=750, wake-system=1, tag=京东快递签到
#京东直播(活动结束时间未知)
cron "20 12 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_live.js, timeout=750, wake-system=1, tag=京东直播
#京东赚赚
cron "20 11 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_jdzz.js, timeout=750, wake-system=1, tag=京东赚赚
#注销京东店铺会员卡
cron "20 12 * * 6" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_unbind.js, timeout=750, wake-system=1, tag=注销京东店铺会员卡
#疯狂的joy日常任务
cron "30 8 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_crazy_joy.js, timeout=1750, wake-system=1, tag=疯狂的joy日常任务
#签到领现金
签到领现金 = type=cron,cronexp="0 0 * * *",wake-system=1,timeout=2220,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_cash.js
#京东家庭号
京东家庭号 = type=cron,cronexp="1 * * * *",wake-system=1,timeout=2220,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_family.js
#京东口袋书城
口袋书店 = type=cron,cronexp="1 8,12,18 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_bookshop.js
#京喜签到
京喜签到 = type=cron,cronexp="5 8 * * *",wake-system=1,timeout=1220,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jx_sign.js
#以为为短期活动
#京东年货节
京东年货节 = type=cron,cronexp="0 8 * * *",wake-system=1,timeout=2220,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_nh.js

71
USER_AGENTS.js Normal file
View File

@@ -0,0 +1,71 @@
const USER_AGENTS = [
"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.1 Safari/537.36",
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2226.0 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.4; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2225.0 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2225.0 Safari/537.36",
"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2224.3 Safari/537.36",
"Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.93 Safari/537.36",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36",
"Mozilla/5.0 (Windows NT 4.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.67 Safari/537.36",
"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.67 Safari/537.36",
"Mozilla/5.0 (X11; OpenBSD i386) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1944.0 Safari/537.36",
"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.3319.102 Safari/537.36",
"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.2309.372 Safari/537.36",
"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.2117.157 Safari/537.36",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.47 Safari/537.36",
"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1866.237 Safari/537.36",
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/4E423F",
"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36 Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10",
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.517 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1667.0 Safari/537.36",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1664.3 Safari/537.36",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1664.3 Safari/537.36",
"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.16 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1623.0 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.17 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.62 Safari/537.36",
"Mozilla/5.0 (X11; CrOS i686 4319.74.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.2 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1468.0 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1467.0 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1464.0 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1500.55 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36",
"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.90 Safari/537.36",
"Mozilla/5.0 (X11; NetBSD) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36",
"Mozilla/5.0 (X11; CrOS i686 3912.101.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.60 Safari/537.17",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1309.0 Safari/537.17",
"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.15 (KHTML, like Gecko) Chrome/24.0.1295.0 Safari/537.15",
"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.14 (KHTML, like Gecko) Chrome/24.0.1292.0 Safari/537.14",
"JD4iPhone/167490 (iPhone; iOS 14.3; Scale/2.00)",
"JD4iPhone/9.3.5 CFNetwork/1209 Darwin/20.2.0",
"JD4iPhone/167515 (iPhone; iOS 14.3; Scale/3.00)",
"jdapp;iPhone;9.2.2;14.2;%E4%BA%AC%E4%B8%9C/9.2.2 CFNetwork/1206 Darwin/20.1.0",
"jdapp;android;9.3.5;10;2346663656561603-4353564623932316;network/wifi;model/ONEPLUS A5010;addressid/138709979;aid/2dfceea045ed292a;oaid/;osVer/29;appBuild/86390;partner/jingdong;eufv/1;Mozilla/5.0 (Linux; Android 10; ONEPLUS A5010 Build/QKQ1.191014.012; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/77.0.3865.120 MQQBrowser/6.2 TBS/045230 Mobile Safari/537.36",
"jdapp;iPhone;9.3.4;14.3;88732f840b77821b345bf07fd71f609e6ff12f43;network/4g;ADID/1C141FDD-C62F-425B-8033-9AAB7E4AE6A3;supportApplePay/0;hasUPPay/0;hasOCPay/0;model/iPhone11,8;addressid/2005183373;supportBestPay/0;appBuild/167502;jdSupportDarkMode/0;pv/414.19;apprpd/Babel_Native;ref/TTTChannelViewContoller;psq/5;ads/;psn/88732f840b77821b345bf07fd71f609e6ff12f43|1701;jdv/0|iosapp|t_335139774|appshare|CopyURL|1610885480412|1610885486;adk/;app_device/IOS;pap/JA2015_311210|9.3.4|IOS 14.3;Mozilla/5.0 (iPhone; CPU iPhone OS 14_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148;supportJDSHWK/1",
]
/**
* 生成随机数字
* @param {number} min 最小值(包含)
* @param {number} max 最大值(不包含)
*/
function randomNumber(min = 0, max = 100) {
return Math.min(Math.floor(min + Math.random() * (max - min)), max);
}
const USER_AGENT = USER_AGENTS[randomNumber(0, USER_AGENTS.length)];
module.exports = {
USER_AGENT
}

935
activity/jd_818.js Normal file

File diff suppressed because one or more lines are too long

419
activity/jd_apple_live.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

220
activity/jd_ds.js Normal file

File diff suppressed because one or more lines are too long

401
activity/jd_health.js Normal file

File diff suppressed because one or more lines are too long

435
activity/jd_jdh.js Normal file

File diff suppressed because one or more lines are too long

669
activity/jd_jxstory.js Normal file

File diff suppressed because one or more lines are too long

282
activity/jd_live_redrain.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

422
activity/jd_mohe.js Normal file

File diff suppressed because one or more lines are too long

208
activity/jd_ms_redrain.js Normal file

File diff suppressed because one or more lines are too long

516
activity/jd_pubg.js Normal file

File diff suppressed because one or more lines are too long

314
activity/jd_split.js Normal file

File diff suppressed because one or more lines are too long

418
activity/jd_watch.js Normal file

File diff suppressed because one or more lines are too long

419
activity/jd_xtg.js Normal file

File diff suppressed because one or more lines are too long

199
activity/jr_sign.js Normal file

File diff suppressed because one or more lines are too long

14
backUp/AlipayManor.js Normal file

File diff suppressed because one or more lines are too long

32
backUp/GetJdCookie.md Normal file
View File

@@ -0,0 +1,32 @@
## 浏览器获取京东cookie教程
**以下浏览器都行**
- Chrome浏览器
- 新版Edge浏览器
- 国产360QQ浏览器切换到极速模式
### 操作步骤
1. 电脑浏览器打开京东网址 [https://m.jd.com/](https://m.jd.com/)
2. 按键盘F12键打开开发者工具然后点下图中的图标
![切换到手机模式](../icon/jd1.jpg)
3. 此时是未登录状态(使用手机短信验证码登录),如已登录请忽略此步骤
- 使用手机短信验证码登录(此方式cookie有效时长大概31天其他登录方式比较短)
4. 登录后选择Network,有很多链接的话点箭头这里清空下
![清空](../icon/jd2.jpg)
5. 然后再点我的,链接就变少了
![再次点击我的](../icon/jd3.jpg)
6. 点第一个链接(log.gif)进去找到cookie复制出来新建一个TXT文本临时保存一下下面需要用到
![寻找log.gi](../icon/jd4.jpg)
7. 第六步复制出来的cookie比较长我们只需要`pt_pin=xxxx;``pt_key=xxxx;`部分的内容即可(注:英文引号`;`是必要的)。可以用下面的脚本在Chrome浏览器按F12console里面输入下面脚本按enter回车键
```
var CV = '单引号里面放第六步拿到的cookie';
var CookieValue = CV.match(/pt_pin=.+?;/) + CV.match(/pt_key=.+?;/);
copy(CookieValue);
```
8. 这样子整理出关键的的cookie已经在你的剪贴板上 可直接粘贴
9. 如果需获取第二个京东账号的cookie,不要在刚才的浏览器上面退出登录账号一(否则刚才获取的cookie会失效),需另外换一个浏览器(Chrome浏览器 `ctr+shift+n` 打开无痕模式也行),然后继续按上面步骤操作即可

34
backUp/GetJdCookie2.md Normal file
View File

@@ -0,0 +1,34 @@
## 浏览器插件获取京东cookie教程
> 此教程内容由tg用户@wukongdada提供,特此感谢
**以下浏览器都行**
- Chrome浏览器
- 新版Edge浏览器(chrome内核)
### 操作步骤
1. 电脑浏览器打开京东网址 [https://m.jd.com/](https://m.jd.com/)
2. Chrome类浏览器安装EditThisCookie插件
- Chrome插件商店搜EditThisCookie, 或者[打开此网站](https://chrome.google.com/webstore/detail/editthiscookie/fngmhnnpilhplaeedifhccceomclgfbg?utm_source=chrome-ntp-icon) 进行安装
- 仅使用百分浏览器,谷歌浏览器测试过,其他谷歌类浏览器请自行测试。
- 无法登录Chrome插件商店或者打不开网址建议使用edge chrome版。
3. edge chrome浏览器安装Cookie Editor插件
- [edge插件商店](edge://extensions/)搜Cookie Editor或[打开以下网址](https://microsoftedge.microsoft.com/addons/detail/cookie-editor/ajfboaconbpkglpfanbmlfgojgndmhmc?hl=zh-CN) 完成插件安装
4. 以下是chrome和edge的相关设置截图输入的网址是 ``jd.com``
![Chrome浏览器相关设置](../icon/jd5.png)
![Edge浏览器相关设置](../icon/jd6.png)
5. 现在点击回到京东触屏版再点击EditThisCookie/Cookie Editor再点击搜索输入key或pin如下图所示的pt_key复制pt_key的value值。此插件可以看到cookie的有效期。
![插件显示](../icon/jd7.png)
6. 按照以下格式形成自己的jd_cookie
- `pt_key=复制插件搜索出来的key值;pt_pin=复制插件搜索出来的pin值;` ,后面的英文引号`;`是必须要的
- 给一个京东cookie具体示例 `pt_key=jdDC2F833333EFDGTCE5BD4AD1A952D4F4DF84A46052;pt_pin=jd_123456;`
7. 如果需获取第二个京东账号的cookie,不要在刚才的浏览器上面退出登录账号一(否则刚才获取的cookie会失效),需另外换一个浏览器(Chrome浏览器 `ctr+shift+n` 打开无痕模式也行),然后继续按上面步骤操作即可

19
backUp/TG_PUSH.md Normal file
View File

@@ -0,0 +1,19 @@
**TG_PUSH教程**
利用Telegram机器人推送通知需要在环境变量填入正确的```TG_BOT_TOKEN```以及```TG_USER_ID```以下教程简明阐述如何获取token以及UserID
.首先在Telegram上搜索[BotFather](https://t.me/BotFather)机器人<br>
![TG_PUSH1](../icon/TG_PUSH1.png)
Ⅱ.利用[BotFather](https://t.me/BotFather)创建一个属于自己的通知机器人按照下图中的1、2、3步骤拿到token格式形如```10xxx4:AAFcqxxxxgER5uw```。填入```TG_BOT_TOKEN```<br>
![TG_PUSH2](../icon/TG_PUSH2.png)<br>
**新创建的机器人需要跟它发一条消息来开启对话否则可能会遇到secret填对了但是收不到消息的情况**<br>
Ⅲ.再次在Telegram上搜索[getuserIDbot](https://t.me/getuserIDbot)机器人获取UserID。填入```TG_USER_ID```<br>
![TG_PUSH3](../icon/TG_PUSH3.png)
至此,获取**TG_BOT_TOKEN**以及**TG_USER_ID**的教程结束

197
backUp/cashSign.js Normal file

File diff suppressed because one or more lines are too long

100
backUp/gitSync.md Normal file
View File

@@ -0,0 +1,100 @@
## 保持自己github的forks自动和上游仓库同步的教程
- 信息来源于 [https://github.com/wei/pull](https://github.com/wei/pull)
- 以下教程仅是出于个人爱好,不保证本教程的完全正确性,最终请以作者 [https://github.com/wei/pull](https://github.com/wei/pull) 的描述为准。
-此教程由telegram用户@wukongdada提供
### 1、只同步默认分支的教程
> 当上游的仓库仅有一个默认分支。或者上游仓库有两个分支,我们仅需要同步他的默认分支,其他分支对内容对我们来说无关紧要。
![git1.jpg](../icon/git1.jpg)
a) 登录自己的github账号另开网页打开 [https://github.com/wei/pull](https://github.com/wei/pull)
b) 点击Pull app进行安装。
![../icon/git2.jpg](../icon/git2.jpg)
c) 安装过程中会让你选择要选择那一种方式All repositories(就是同步已经frok的仓库以及未来fork的仓库)Only select repositories(仅选择要自己需要同步的仓库其他fork的仓库不会被同步)根据自己需求选择实在不知道怎么选择就选All repositories点击install完成安装。
![../icon/git3.jpg](../icon/git3.jpg)
d) 后续如果要调整1.c中的选项打开 [https://github.com/apps/pull](https://github.com/apps/pull) 点击Configure输入github密码进入pull的相关设置。
![../icon/git4.jpg](../icon/git4.jpg)
e) 进入后找到Repository access根据自己的需求重新选择All repositories(就是同步已经frok的仓库以及未来fork的仓库)Only select repositories(仅选择要自己需要同步的仓库其他fork的仓库不会被同步)Save后保存生效。
![../icon/git5.jpg](../icon/git5.jpg)
f) Pull app作者虽然在项目中写道keeps your forks up-to-date with upstream via automated pull requests但当上游仓库有更改时自己的仓库会在3个小时内完成与上游的同步3个小时是Pull app作者说的最长时间。当然也可以通过手动触发同步上游仓库手动触发方式`https://pull.git.ci/process/你的GitHub名字/你的仓库名字` (例如:`https://pull.git.ci/process/xxxxx/test` 手动触发可能会进行人机验证验证通过后会显示Success。
![../icon/git12.jpg](../icon/git6.jpg)
![../icon/git13.jpg](../icon/git7.png)
### 2、同步其他分支的教程
![../icon/git8.jpg](../icon/git8.jpg)
a) 假设你fork了上游仓库后你fork后的地址为 `https://github.com/你的仓库名字/test` 首先设置完成第1部分内容注意在1.c步骤没有设置全部同步的要回到1.e步确认是否设置同步了 `你的仓库名字/test`,如果没有,请添加上。
![../icon/git9.jpg](../icon/git9.jpg)
b) 在默认分支下添加一个文件。
![../icon/git10.jpg](../icon/git10.jpg)
c) 复制 ``.github/pull.yml`` 粘贴后看到以下页面注意github前面的那个.别漏掉了。
![../icon/git11.jpg](../icon/git11.jpg)
d) 请在https://github.com/wei/pull\#advanced-setup-with-config 页复制代码,
注意upstream处要修改为上游仓库作者名字。
![../icon/git12.jpg](../icon/git12.jpg)
![../icon/git13.jpg](../icon/git13.jpg)
e) 最终的示例如下假设上游作者是zhangsan所有的注意点都用红线圈出来了保存后生效。
![../icon/git14.jpg](../icon/git14.jpg)
f) Pull app作者虽然在项目中写道keeps your forks up-to-date with upstream via automated pull requests但当上游仓库有更改时自己的仓库会在3个小时内完成与上游的同步3个小时是Pull app作者说的最长时间。当然也可以通过手动触发同步上游仓库手动触发方式`https://pull.git.ci/process/你的GitHub名字/你的仓库名字` (例如:`https://pull.git.ci/process/xxxxx/test`手动触发可能会进行人机验证验证通过后会显示Success。具体见1.f提供的图片。
g) 本人仅测试过forks一个仓库只有2个分支的项目如果有多个分支不能保证是否可行请自行测试或者是使用本教程第3部分高级玩法。
### 高级玩法
>当然,作者还有其他更好的项目用于同步所有分支,例如使用 GitHub actions 进行同步。请参考原作者的项目
- [https://github.com/wei/git-sync](https://github.com/wei/git-sync)
- [https://github.com/repo-sync/github-sync](https://github.com/repo-sync/github-sync)

212
backUp/iCloud.md Normal file
View File

@@ -0,0 +1,212 @@
## 1.安装 Node.js 环境
[下载地址](https://nodejs.org/zh-tw/download/ )
根据自己的操作系统下载
傻瓜式安装,一直下一步即可。
## 2.下载源码
![BclSld.png](https://s1.ax1x.com/2020/11/04/BclSld.png)
点击红框处下载压缩包
## 3.安装依赖、增加入口文件、增加cookie
压缩包解压后进入项目文件夹
- Windows 用户按住 **shift** 点击右键,点击 **在此处打开命令窗口**
- Mac 用户通过终端,自行进入该文件夹
在命令行内输入 `npm i `,等待运行完成。
此时,项目文件夹内会多出一个 `node_modules`文件夹
**增加入口文件**
方案一:同一个仓库下同一个时间,执行多个脚本
在项目文件夹内新建 `index.js`
编辑文件
```javascript
'use strict';
exports.main_handler = async (event, context, callback) => {
//解决云函数热启动问题
delete require.cache[require.resolve('./jd_xtg1.js')];
require('./jd_xtg1.js') //这里写你想要的脚本
require('./jd_xtg2.js') //这里写你想要的脚本
require('./jd_xtg3.js') //这里写你想要的脚本
}
```
此时同一时间点下会同时执行多个脚本触发器触发后index.js文件中require()下的所有脚本都会被执行
**优点**同一时间下可以同时执行多个脚本适合脚本种类少的repository对脚本数量少的repository推荐使用此方案<br>**缺点**:多个脚本不同时间点运行无法满足
方案二同一个仓库下不同的时间点分别执行不同的脚本类似GitHub Action执行机制
在项目文件夹内新建 `index.js`
编辑文件
```javascript
'use strict';
exports.main_handler = async (event, context, callback) => {
for (const v of event["Message"].split("\r\n")) {
//解决云函数热启动问题
delete require.cache[require.resolve(`./${v}.js`)];
console.log(v);
require(`./${v}.js`)
}
}
```
此时触发管理按照下图中进行设置附加信息选择“是”内容填写需要传递执行的具体脚本文件名以回车键换行。触发器触发后附加信息栏内的脚本会被执行设置多个不同时间点的触发器达到类似GitHub Action的效果
**优点**可以满足个性化需求同一个repository下只需要设置不同的触发器可以实现不同时间点分别执行不同的脚本<br>**缺点**repository下脚本过多如果需要设置多个触发器实现个性化运行效果由于云函数的限制最多只能设置10个
[![B20KxI.png](https://s1.ax1x.com/2020/11/05/B20KxI.png)](https://imgchr.com/i/B20KxI)
[![BRCG0H.png](https://s1.ax1x.com/2020/11/05/BRCG0H.png)](https://imgchr.com/i/BRCG0H)
**注意:**<br>
方案一与方案二不能混合到同一个index.js文件中使用同一个仓库下二者只能选择其一。<br>
Ⅱ感谢[issues#115](https://github.com/LXK9301/jd_scripts/issues/115)中的解决方案,目前云函数连续测试已经可以规避热启动问题了。<br>
Ⅲ在确保完全按照本教程设置的情况下测试云函数运行情况对于部分人运行日志中出现某些脚本运行失败其他正常并且错误提示带有strict字样的请自行删除index.js中的```'use strict';```,再做测试<br>
**增加cookie**
打开项目文件内的 `jdCookie.js`
在最上面的 `CookieJDs`里写入 cookie ,多个账号以逗号分隔
例如
```javascript
let CookieJDs = [
'pt_key=xxx;pt_pin=xxx;',
'pt_key=zzz;pt_pin=zzz;',
'pt_key=aaa;pt_pin=xxxaaa'
]
```
## 4.上传至腾讯云
[腾讯云函数地址]( https://console.cloud.tencent.com/scf/index )
编写函数
登录后,点击管理控制台
单击左侧导航栏**函数服务**,进入“函数服务”页面。
在页面上方选择一个地域,最好选择离你常用地区近点的,不至于导致账号异常。单击**新建**。如下图所示:
![iCloud1](../icon/iCloud1.png)
在“新建函数”页面填写函数基础信息,单击**下一步**。如下图所示:
![iCloud2](../icon/iCloud2.png)
**函数名称**可以自定义比如为jd。<br>**运行环境**:选择 “Nodejs 12.16”。<br>**创建方式**:选择 “空白函数”。
确保环境为Nodejs 12.16执行方法改为index.main_handler提交方式建议选本地文件夹然后从GitHub项目克隆Zip压缩包解压成文件夹然后点击这个上传把文件夹上传进来记得node_modules文件夹一并上传或者将node_modules文件夹上传到“层”之后选择“函数管理”-“层管理”绑定上传好的层),完了后点击下面的高级设置。
![iCloud3](../icon/iCloud3.png)
内存用不了太大64MB就够了64M内存免费时长6,400,000秒内存与免费时长大致关系可以参看云函数官方说明超时时间改为最大的900秒然后点击最下面的完成。
![iCloud4](../icon/iCloud4.png)
## 5.设置触发器
点击刚创建的函数
![BcGa8O.png](https://s1.ax1x.com/2020/11/04/BcGa8O.png)
点击如图所示
![BcGvM4.png](https://s1.ax1x.com/2020/11/04/BcGvM4.png)
创建触发器
![iCloud6](../icon/iCloud6.png)
触发方式默认“**定时触发**”,定时任务名称随便起个名字,触发周期根据自己需要自行设置。
想进阶使用触发器的自行查看本文中方案一和方案二中的说明
关于触发周期中的自定义触发周期,使用的是 Cron表达式这个自行学习下吧
[Corn文档](https://cloud.tencent.com/document/product/583/9708#cron-.E8.A1.A8.E8.BE.BE.E5.BC.8F)
目前repo中按照每个脚本一个定时器的方式设置到云函数中大约需要触发器10多个由于云函数触发器限制最多10个需要对触发器进行整合整合后触发器保持在10个以内以下设置仅供参考<br>
| **JavaScript** | **脚本名称** | **活动时间** | **原Repository UTC时间** | **适用于云函数的北京时间** | **serverless.yml** |
| :----------------------: | :----------------------: | :----------: | :-----------------------: | :-------------------------: | :----------------: |
| `jd_bean_change` | 京豆变动通知 | 长期 | 0 2 * * * | 0 1 */1 * * | 30 7 * * * |
| `jd_bean_home` | 领京豆额外奖励 | 长期 | / | 0 1 */1 * * | 30 7 * * * |
| `jd_bean_sign` | 京豆签到 | 长期 | 0 16 * * * | 0 0 */1 * * | 0 0 * * * |
| `jd_blueCoin` | 京小超兑换奖品 | 长期 | 0 16 * * * | 0 1 */1 * * | 0 0 * * * |
| `jd_bookshop` | 口袋书店 | 长期 | / | / | 5 6-18/6,8 * * * |
| `jd_car` | 京东汽车 | 长期 | / | 0 0 */1 * * | 0 0 * * * |
| `jd_car_exchange` | 京东汽车兑换 | 长期 | / | / | 0 0 * * * |
| `jd_club_lottery` | 摇京豆 | 长期 | 0 16 * * * | 0 0 */1 * * | 0 0 * * * |
| `jd_crazy_joy` | 疯狂的joy | 长期 | / | / | 30 7 * * * |
| `jd_crazy_joy_coin` | 疯狂的joy挂机 | 长期 | / | / | / |
| `jd_daily_egg` | 京东金融-天天提额 | 长期 | 10 */3 * * * | 0-12/3 */3 * * * | 8 */3 * * * |
| `jd_dreamFactory` | 京喜工厂 | 长期 | / | */30 * * * * | 3 */1 * * * |
| `jd_fruit` | 东东农场 | 长期 | 20 23,4,10 * * * | 0,5,10 8,9,12,18,23,0 * * * | 5 6-18/6,8 * * * |
| `jd_get_share_code` | 获取互助码 | 长期 | / | / | / |
| `jd_jdfactory` | 东东工厂 | 长期 | / | */30 * * * * | 3 */1 * * * |
| `jd_jdzz` | 京东赚赚 | 长期 | / | / | 3 1 * * * |
| `jd_joy` | 宠汪汪 | 长期 | 0 0,1,4,10,15,16 * * * | 0,5,10 8,9,12,18,23,0 * * * | 3 */1 * * * |
| `jd_joy_feedPets` | 宠汪汪单独喂食 | 长期 | */20 */1 * * * | 0-12/3 */3 * * * | 3 */1 * * * |
| `jd_joy_help` | 宠汪汪强制为别人助力 | 长期 | / | / | / |
| `jd_joy_reward` | 宠汪汪兑换奖品 | 长期 | 0 0,4,8,16 * * * | 0 8,12,16,0 */1 * * | 0 0-16/8,20 * * * |
| `jd_joy_run` | 宠汪汪邀请助力与赛跑助力 | 长期 | / | / | / |
| `jd_joy_steal` | 宠汪汪偷好友狗粮与积分 | 长期 | 0 16,22 * * * | 0 0,6,20 */1 * * | 0 0-16/8,20 * * * |
| `jd_jxnc` | 京喜农场 | 长期 | / | / | / |
| `jd_kd` | 京东快递 | 长期 | / | 0 1 */1 * * | 3 1 * * * |
| `jd_live` | 京东直播18豆 | 长期 | / | / | 0 0-16/8,20 * * * |
| `jd_lotteryMachine` | 京东抽奖机 | 长期 | 11 17 * * * | 0 0 */1 * * | 10 0 * * * |
| `jd_moneyTree` | 摇钱树 | 长期 | 40 */3 * * * | 0-12/3 */3 * * * | 3 */1 * * * |
| `jd_necklace` | 点点券 | 长期 | / | 0 0,6,20 */1 * * | 0 0-16/8,20 * * * |
| `jd_pet` | 东东萌宠 | 长期 | 35 23,4,10 * * * | 0,5,10 8,9,12,18,23,0 * * * | 5 6-18/6,8 * * * |
| `jd_petTreasureBox` | 宠汪汪聚宝盆 | 长期 | / | / | / |
| `jd_pigPet` | 京东金融-养猪猪 | 长期 | / | 0-12/3 */3 * * * | 3 1 * * * |
| `jd_plantBean` | 种豆得豆 | 长期 | 0 23,0-14/1 * * * | 0-12/3 */3 * * * | 3 */1 * * * |
| `jd_rankingList` | 京东排行榜 | 长期 | 11 18 * * * | 0 0 */1 * * | 30 7 * * * |
| `jd_redPacket` | 全民开红包 | 长期 | 0 17 * * * | 0 1 */1 * * | 10 0 * * * |
| `jd_shop` | 进店领豆 | 长期 | 0 16 * * * | 0 0 */1 * * | 10 0 * * * |
| `jd_small_home` | 东东小窝 | 长期 | / | 0 0,6,20 */1 * * | 10 0 * * * |
| `jd_speed` | 天天加速 | 长期 | 33 */3 * * * | 0-12/3 */3 * * * | 8 */3 * * * |
| `jd_superMarket` | 东东超市 | 长期 | 15 * * * * | */30 * * * * | 15 * * * * |
| `jd_syj` | 十元街 | 长期 | / | 0 1 */1 * * | 3 1 * * * |
| `jd_unbind` | 注销京东会员卡 | 长期 | / | / | 10 0 * * * |
| `jd_unsubscribe` | 取关京东店铺和商品 | 长期 | 45 15 * * * | 0 1 */1 * * | 10 0 * * * |
| `jd_818` | 京东手机狂欢城 | 短期 | 0 1,4,7,10,12,16,22 * * * | 0 9,12,15,16,20,0,6 */1 * * | / |
| `jd_apple_live` | 苹果抽奖机 | 短期 | / | / | / |
| `jd_collectProduceScore` | 双十一活动领金币 | 短期 | 30 * * * * | */30 * * * * | / |
| `jd_digital_floor` | 数码加购京豆 | 短期 | / | / | / |
| `jd_ds` | 京东代属(校园用户) | 短期 | / | / | / |
| `jd_health` | 健康抽奖机 | 短期 | / | 0 0 */1 * * | 10 0 * * * |
| `jd_jdh` | 京东健康APP | 短期 | / | / | 30 7 * * * |
| `jd_jxstory` | 京喜故事 | 短期 | / | / | / |
| `jd_live_redrain` | 超级直播间红包雨 | 短期 | / | 0 0,20,9-23/2 * * MON-FRI | / |
| `jd_mohe` | 热8超级魔盒 | 短期 | / | / | / |
| `jd_ms_redrain` | 秒杀红包雨 | 短期 | / | 0 1 */1 * * | 10 0 * * * |
| `jd_pubg` | PUBG | 短期 | / | / | / |
| `jd_split` | 金榜年终奖 | 短期 | / | / | / |
| `jd_watch` | 发现-看一看 | 短期 | / | / | 3 1 * * * |
| `jd_xtg` | 双十一星推官 | 短期 | 0 16 * * * | 0 0 */1 * * | / |
| `jr_sign` | 金融打卡年终奖 | 短期 | / | / | 3 1 * * * |
点击提交,所有流程就结束了。

File diff suppressed because one or more lines are too long

11
backUp/jd_Goods.js Normal file

File diff suppressed because one or more lines are too long

1000
backUp/jd_fruit_double.js Normal file

File diff suppressed because one or more lines are too long

510
backUp/jd_joy2.js Normal file

File diff suppressed because one or more lines are too long

16
backUp/jd_joy_help2.js Normal file

File diff suppressed because one or more lines are too long

452
backUp/jd_moneyTree2.js Normal file

File diff suppressed because one or more lines are too long

530
backUp/jd_pet_double.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

321
backUp/jd_speed2.js Normal file

File diff suppressed because one or more lines are too long

25
backUp/mySelf.boxjs.json Normal file
View File

@@ -0,0 +1,25 @@
{
"id": "LXK9301.app.sub2",
"name": "自用",
"author": "@LXK9301",
"icon": "https://avatars0.githubusercontent.com/u/21308593?s=52&v=4",
"repo": "https://github.com/LXK9301/jd_scripts/",
"apps": [
{
"id": "QQ_READ",
"name": "企鹅阅读(QQ小程序)",
"keys": [
"qqreadbodyVal",
"qqreadtimeurl",
"qqreadtimehd"
],
"settings": [],
"author": "@ziye12",
"repo": "https://github.com/ziye12/JavaScript ",
"icons": [
"https://raw.githubusercontent.com/Orz-3/mini/master/jd.png",
"https://raw.githubusercontent.com/Orz-3/task/master/jd.png"
]
}
]
}

643
backUp/qqread.js Normal file

File diff suppressed because one or more lines are too long

293
backUp/qqreadOpenBox.js Normal file

File diff suppressed because one or more lines are too long

128
backUp/tencentscf.md Normal file
View File

@@ -0,0 +1,128 @@
# 云函数快速部署京东脚本
>
> - 本地安装依赖使用serverless部署[点这里](tencentscf.md#1-安装-nodejs-环境)
> - Github Action 部署[点这里](tencentscf.md#github-action-部署)
## 1. 安装 Node.js 环境
Node.js 环境 [下载地址](https://nodejs.org/zh-tw/download/) ,根据自己的操作系统下载和安装。
## 2. 下载代码
点击红框处下载压缩包
![下载代码](https://imgbed-bucket-1251971143.cos.ap-guangzhou.myqcloud.com/1605497672397-zip.png)
## 3. 安装依赖,配置 cookie
### 3.1 安装依赖
压缩包解压后进入项目文件夹
- Windows 用户按住 **shift** 点击右键,点击 **在此处打开命令窗口**
- Mac 用户通过终端,自行进入该文件夹
在命令行内输入 `npm i `,等待运行完成。
此时,项目文件夹内会多出一个 `node_modules`文件夹
### 3.2 配置 cookie
打开项目文件内的 `jdCookie.js`
在最上面的 `CookieJDs`里写入 cookie ,多个账号以逗号分隔
例如
```javascript
let CookieJDs = [
'pt_key=xxx;pt_pin=xxx;',
'pt_key=zzz;pt_pin=zzz;',
'pt_key=aaa;pt_pin=xxxaaa'
]
```
> 注:获取京东 cookie 教程参考 [浏览器获取京东cookie教程](https://github.com/LXK9301/jd_scripts/blob/master/backUp/GetJdCookie.md) , [插件获取京东cookie教程](https://github.com/LXK9301/jd_scripts/blob/master/backUp/GetJdCookie2.md)
## 4. 部署到云函数
### 4.1 开通服务
依次登录 [SCF 云函数控制台](https://console.cloud.tencent.com/scf) 和 [SLS 控制台](https://console.cloud.tencent.com/sls) 开通相关服务,确保账户下已开通服务并创建相应[服务角色](https://console.cloud.tencent.com/cam/role) **SCF_QcsRole、SLS_QcsRole**
> 注意!为了确保权限足够,获取这两个参数时不要使用子账户!此外,腾讯云账户需要[实名认证](https://console.cloud.tencent.com/developer/auth)。
### 4.2 工具部署
下载 Serverless 工具,快速部署函数
```
npm install -g serverless
```
执行部署命令
```
serverless deploy
```
如果已经配置了永久秘钥,则可以直接部署,如果没有,可以直接**微信扫码**登录腾讯云,并且授权部署。
过几秒后,查看输出,可以看到函数和定时触发器都已经配置完成。
```
serverless ⚡framework
Action: "deploy" - Stage: "dev" - App: "jdscript" - Instance: "jdscript"
functionName: scf-jdscript
description: This is a function in jdscript application.
namespace: default
runtime: Nodejs12.16
handler: index.main_handler
memorySize: 64
lastVersion: $LATEST
traffic: 1
triggers:
timer:
- timer-jdscript-dev
36s jdscript Success
```
## 5. 查看和测试
登录后,在 [腾讯云函数地址](https://console.cloud.tencent.com/scf/index) 点击管理控制台,查看最新部署的函数。
在左侧栏的日志查询中,可以查看到触发的日志,包括是否打卡成功等。
![测试函数](https://user-images.githubusercontent.com/6993269/99628053-5a9eea80-2a70-11eb-906f-f1d5ea2bfa3a.png)
> 如果需要配置永久秘钥,则可以在[访问秘钥页面](https://console.cloud.tencent.com/cam/capi)获取账号的 TENCENT_SECRET_IDTENCENT_SECRET_KEY并配置在代码根目录 .env 文件中。
# Github Action 部署
## 1. 开通服务
依次登录 [SCF 云函数控制台](https://console.cloud.tencent.com/scf) 和 [SLS 控制台](https://console.cloud.tencent.com/sls) 开通相关服务,确保账户下已开通服务并创建相应[服务角色](https://console.cloud.tencent.com/cam/role) **SCF_QcsRole、SLS_QcsRole**
> 注意!为了确保权限足够,获取这两个参数时不要使用子账户!此外,腾讯云账户需要[实名认证](https://console.cloud.tencent.com/developer/auth)。
## 2. 在这里新建一个访问密钥[新建密钥](https://console.cloud.tencent.com/cam/capi)
> 将SecretId和SecretKey分别配置在仓库的secrets变量里面 TENCENT_SECRET_ID对应你的SecretId的值TENCENT_SECRET_KEY对应你的SecretKey的值
## 3. 配置自己需要secrets变量[参考这里](githubAction.md#下方提供使用到的-secrets全集合)
### __重要的说三遍__
### 如果涉及一个变量配置多个值如多个cookie多个取消订阅关键字去掉里面的 *__[空格]()__* 和 __*[换行]()*__ 使用 `&` 连接
### 如果涉及一个变量配置多个值如多个cookie多个取消订阅关键字去掉里面的 *__[空格]()__* 和 __*[换行]()*__ 使用 `&` 连接
### 如果涉及一个变量配置多个值如多个cookie多个取消订阅关键字去掉里面的 *__[空格]()__* 和 __*[换行]()*__ 使用 `&` 连接
> 排查问题第一步先看自己[腾讯云函数](https://console.cloud.tencent.com/scf/list-detail?rid=5&ns=default&id=scf-jdscript)那边的环境变量跟自己在仓库配置的 `secrets` 是否一致
![image](https://user-images.githubusercontent.com/6993269/99937191-06617680-2da0-11eb-99ea-033f2c655683.png)
## 4.执行action workflow进行部署workflow未报错即部署成功
![image](https://user-images.githubusercontent.com/6993269/99513289-6a152980-29c5-11eb-9266-3f56ba13d3b2.png)
## 5. 查看和测试
登录后,在 [腾讯云函数地址](https://console.cloud.tencent.com/scf/index) 点击管理控制台,查看最新部署的函数。
在左侧栏的日志查询中,可以查看到触发的日志,包括是否打卡成功等。
![测试函数](https://user-images.githubusercontent.com/6993269/99628053-5a9eea80-2a70-11eb-906f-f1d5ea2bfa3a.png)
## 6. 设置触发器[看这里](iCloud.md#5设置触发器) 或者看这里的[注释说明](https://github.com/iouAkira/jd_scripts/blob/patch-1/index.js#L4)

82
backUp/webhook.js Normal file

File diff suppressed because one or more lines are too long

175
backUp/xmSports.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

28
docker/Dockerfile Normal file
View File

@@ -0,0 +1,28 @@
FROM alpine
LABEL AUTHOR="none" \
VERSION=0.1.3
ENV DEFAULT_LIST_FILE=crontab_list.sh \
CUSTOM_LIST_MERGE_TYPE=append \
REPO_URL=https://gitee.com/lxk0301/jd_scripts.git
RUN set -ex \
&& apk update && apk upgrade\
&& apk add --no-cache tzdata git nodejs moreutils npm curl jq \
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo "Asia/Shanghai" > /etc/timezone
RUN git clone ${REPO_URL} /scripts \
&& cd /scripts \
&& git checkout master \
&& mkdir logs \
&& npm install
RUN cp /scripts/docker/docker_entrypoint.sh /usr/local/bin \
&& chmod +x /usr/local/bin/docker_entrypoint.sh
WORKDIR /scripts
ENTRYPOINT ["docker_entrypoint.sh"]
CMD [ "crond" ]

105
docker/Readme.md Normal file
View File

@@ -0,0 +1,105 @@
### Usage
```diff
+ 2021-01-03更新 增加 CUSTOM_SHELL_FILE 参数配置执行自定义shell脚本
+ 例1:配置远程shell脚本, 我自己写了一个shell脚本https://raw.githubusercontent.com/iouAkira/someDockerfile/master/jd_scripts/shell_script_mod.sh 内容很简单下载惊喜农场并添加定时任务
+ CUSTOM_SHELL_FILE=https://raw.githubusercontent.com/iouAkira/someDockerfile/master/jd_scripts/shell_script_mod.sh
+
+ 例2:配置docker挂载本地自定义shell脚本,/scripts/docker/shell_script_mod.sh 为你在docker-compose.yml里面挂载到容器里面绝对路径
+ CUSTOM_SHELL_FILE=/scripts/docker/shell_script_mod.sh
+
+ tip如果使用远程自定义请保证网络畅通或者选择合适的国内仓库例如有部分人的容器里面就下载不到github的raw文件那就可以把自己的自定义shell写在gitee上或者换本地挂载
+ 如果是 docker 挂载本地,请保重文件挂载进去了,并且配置的是绝对路径。
+ 自定义 shell 脚本里面如果要加 crontab 任务请使用 echo 追加到 /scripts/docker/merged_list_file.sh 里面否者不生效
+ 注⚠️ 建议无shell能力的不要轻易使用当然你可以找别人写好适配了这个docker镜像的脚本直接远程配置
+ 上面写了这么多如果还看不懂,不建议使用该变量功能。
_____
! ⚠2020-12-11更新镜像启动方式虽然兼容旧版的运行启动方式但是强烈建议更新镜像和配置后使用
! 更新后`command:`指令配置不再需要
! 更新后可以使用自定义任务文件追加在默任务文件之后,比以前的完全覆盖多一个选择
! - 新的自定两个环境变量为 `CUSTOM_LIST_MERGE_TYPE`:自定文件的生效方式可选值为`append``overwrite`默认为`append` ; `CUSTOM_LIST_FILE`: 自定义文件的名字
! 更新镜像增减镜像更新通知,以后镜像如果更新之后,会通知用户更新
```
> 推荐使用`docker-compose`所以这里只介绍`docker-compose`使用方式
- `docker-compose` 安装群晖nas docker自带安装了docker-compose
```
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
```
`Ubuntu`用户快速安装`docker-compose`
```
sudo apt-get update && sudo apt-get install -y python3-pip curl vim git moreutils
pip3 install --upgrade pip
pip install docker-compose
```
通过`docker-compose version`查看`docker-compose`版本,确认是否安装成功。
- `Docker`安装
国内一键安装 `sudo curl -sSL https://get.daocloud.io/docker | sh`
国外一键安装 `sudo curl -sSL get.docker.com | sh`
### 如果需要使用 docker 多个账户独立并发执行定时任务,[参考这里](https://github.com/iouAkira/scripts/blob/patch-1/docker/docker%E5%A4%9A%E8%B4%A6%E6%88%B7%E4%BD%BF%E7%94%A8%E7%8B%AC%E7%AB%8B%E5%AE%B9%E5%99%A8%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E.md#%E4%BD%BF%E7%94%A8%E6%AD%A4%E6%96%B9%E5%BC%8F%E8%AF%B7%E5%85%88%E7%90%86%E8%A7%A3%E5%AD%A6%E4%BC%9A%E4%BD%BF%E7%94%A8docker%E5%8A%9E%E6%B3%95%E4%B8%80%E7%9A%84%E4%BD%BF%E7%94%A8%E6%96%B9%E5%BC%8F)
> 注⚠️:前提先理解学会使用这下面的教程
### 创建一个目录`jd_scripts`用于存放备份配置等数据迁移重装的时候只需要备份整个jd_scripts目录即可
需要新建的目录文件结构参考如下:
```
jd_scripts
├── logs
│   ├── XXXX.log
│   └── XXXX.log
├── my_crontab_list.sh
└── docker-compose.yml
```
- `jd_scripts/logs`建一个空文件夹就行
- `jd_scripts/docker-compose.yml` 参考内容如下(自己动手能力不行搞不定请使用默认配置)
- - [使用默认配置用这个](./example/default.yml)
- - [使用自定义任务追加到默认任务之后用这个](./example/custom-append.yml)
- - [使用自定义任务覆盖默认任务用这个](./example/custom-overwrite.yml)
- - [一次启动多容器并发用这个](./example/multi.yml)
- - [使用群晖默认配置用这个](./example/jd_scripts.syno.json)
- - [使用群晖自定义任务追加到默认任务之后用这个](./example/jd_scripts.custom-append.syno.json)
- - [使用群晖自定义任务覆盖默认任务用这个](./example/jd_scripts.custom-overwrite.syno.json)
- `jd_scripts/docker-compose.yml`里面的环境变量(`environment:`)配置[参考这里](https://github.com/LXK9301/jd_scripts/blob/master/githubAction.md#%E4%B8%8B%E6%96%B9%E6%8F%90%E4%BE%9B%E4%BD%BF%E7%94%A8%E5%88%B0%E7%9A%84-secrets%E5%85%A8%E9%9B%86%E5%90%88)
- `jd_scripts/my_crontab_list.sh` 参考内容如下,自己根据需要调整增加删除,不熟悉用户推荐使用默认配置:
```shell
0 */1 * * * git -C /scripts/ pull |ts >> /scripts/logs/pull.log 2>&1
2 0 * * * cd /scripts && node jd_bean_sign.js >> /scripts/logs/jd_bean_sign.log 2>&1
2 0 * * * node /scripts/jd_blueCoin.js >> /scripts/logs/jd_blueCoin.log 2>&1
2 0 * * * node /scripts/jd_club_lottery.js >> /scripts/logs/jd_club_lottery.log 2>&1
20 6-18/6 * * * node /scripts/jd_fruit.js >> /scripts/logs/jd_fruit.log 2>&1
*/20 */1 * * * node /scripts/jd_joy_feedPets.js >> /scripts/logs/jd_joy_feedPets.log 2>&1
0 0,4,8,16 * * * node /scripts/jd_joy_reward.js >> /scripts/logs/jd_joy_reward.log 2>&1
0 1,6 * * * node /scripts/jd_joy_steal.js >> /scripts/logs/jd_joy_steal.log 2>&1
0 0,1,4,10,15,16 * * * node /scripts/jd_joy.js >> /scripts/logs/jd_joy.log 2>&1
40 */3 * * * node /scripts/jd_moneyTree.js >> /scripts/logs/jd_moneyTree.log 2>&1
35 23,4,10 * * * node /scripts/jd_pet.js >> /scripts/logs/jd_pet.log 2>&1
0 23,0-13/1 * * * node /scripts/jd_plantBean.js >> /scripts/logs/jd_plantBean.log 2>&1
2 0 * * * node /scripts/jd_redPacket.js >> /scripts/logs/jd_redPacket.log 2>&1
3 0 * * * node /scripts/jd_shop.js >> /scripts/logs/jd_shop.log 2>&1
15 * * * * node /scripts/jd_superMarket.js >> /scripts/logs/jd_superMarket.log 2>&1
55 23 * * * node /scripts/jd_unsubscribe.js >> /scripts/logs/jd_unsubscribe.log 2>&1
```
> 定时任务命之后,也就是 `>>` 符号之前加上 `|ts` 可在日志每一行前面显示时间,如下图:
> ![image](https://user-images.githubusercontent.com/6993269/99031839-09e04b00-25b3-11eb-8e47-0b6515a282bb.png)
- 目录文件配置好之后在 `jd_scripts`目录执行。
`docker-compose up -d` 启动修改docker-compose.yml后需要使用此命令使更改生效
`docker-compose logs` 打印日志;
`docker-compose pull` 更新镜像;
`docker-compose stop` 停止容器;
`docker-compose restart` 重启容器;
`docker-compose down` 停止并删除容器;
- 如果是群晖用户在docker注册表搜jd_scripts双击下载映像。
不需要docker-compose.yml只需建个logs/目录,调整`jd_scripts.syno.json`里面对应的配置值然后导入json配置新建容器。
若要自定义my_crontab_list.sh再建个my_crontab_list.sh文件配置参考`jd_scripts.my_crontab_list.syno.json`
![image](https://user-images.githubusercontent.com/6993269/99024743-32ac1480-25a2-11eb-8c0f-3cb3be90d54c.png)
![image](https://user-images.githubusercontent.com/6993269/99024803-4ce5f280-25a2-11eb-9693-60e8910c182c.png)
![image](https://user-images.githubusercontent.com/6993269/99024832-6424e000-25a2-11eb-8e31-287771f42ad2.png)

95
docker/crontab_list.sh Normal file
View File

@@ -0,0 +1,95 @@
#必须要的默认定时任务请勿删除
52 */1 * * * docker_entrypoint.sh >> /scripts/logs/default_task.log 2>&1
# 每3天的23:50分清理一次日志
50 23 */3 * * rm -rf /scripts/logs/*.log
##############短期活动##############
#年货节(活动时间2021年1月9日-2021年2月9日)
10 8 * * * node /scripts/jd_nh.js >> /scripts/logs/jd_nh.log 2>&1
#京东炸年兽集爆竹(活动时间:2021-1-18至2021-2-11)怕有遗漏故多运行几次
0 * * * * node /scripts/jd_nian.js >> /scripts/logs/jd_nian.log 2>&1
#专门收集每秒产生的爆竹(1小时运行一次)
30 * * * * node /scripts/jd_nianCollect.js >> /scripts/logs/jd_nianCollect.log 2>&1
##############长期活动##############
# 签到
0 0,18 * * * cd /scripts && node jd_bean_sign.js >> /scripts/logs/jd_bean_sign.log 2>&1
# 京小超兑换奖品
0,30 0 * * * node /scripts/jd_blueCoin.js >> /scripts/logs/jd_blueCoin.log 2>&1
# 摇京豆
0 0 * * * node /scripts/jd_club_lottery.js >> /scripts/logs/jd_club_lottery.log 2>&1
# 东东农场
5 6-18/6 * * * node /scripts/jd_fruit.js >> /scripts/logs/jd_fruit.log 2>&1
# 宠汪汪
15 */2 * * * node /scripts/jd_joy.js >> /scripts/logs/jd_joy.log 2>&1
# 宠汪汪喂食
15 */1 * * * node /scripts/jd_joy_feedPets.js >> /scripts/logs/jd_joy_feedPets.log 2>&1
# 宠汪汪积分兑换奖品
0 0-16/8 * * * node /scripts/jd_joy_reward.js >> /scripts/logs/jd_joy_reward.log 2>&1
# 宠汪汪偷好友积分与狗粮
0 0,6 * * * node /scripts/jd_joy_steal.js >> /scripts/logs/jd_joy_steal.log 2>&1
# 摇钱树
0 */2 * * * node /scripts/jd_moneyTree.js >> /scripts/logs/jd_moneyTree.log 2>&1
# 东东萌宠
5 6-18/6 * * * node /scripts/jd_pet.js >> /scripts/logs/jd_pet.log 2>&1
# 京东种豆得豆
0 7-22/1 * * * node /scripts/jd_plantBean.js >> /scripts/logs/jd_plantBean.log 2>&1
# 京东全民开红包
1 1 * * * node /scripts/jd_redPacket.js >> /scripts/logs/jd_redPacket.log 2>&1
# 进店领豆
10 0 * * * node /scripts/jd_shop.js >> /scripts/logs/jd_shop.log 2>&1
# 京东天天加速
8 */3 * * * node /scripts/jd_speed.js >> /scripts/logs/jd_speed.log 2>&1
# 东东超市
11 1-23/5 * * * node /scripts/jd_superMarket.js >> /scripts/logs/jd_superMarket.log 2>&1
# 取关京东店铺商品
55 23 * * * node /scripts/jd_unsubscribe.js >> /scripts/logs/jd_unsubscribe.log 2>&1
# 京豆变动通知
0 10 * * * node /scripts/jd_bean_change.js >> /scripts/logs/jd_bean_change.log 2>&1
# 京东抽奖机
11 1 * * * node /scripts/jd_lotteryMachine.js >> /scripts/logs/jd_lotteryMachine.log 2>&1
# 京东排行榜
11 9 * * * node /scripts/jd_rankingList.js >> /scripts/logs/jd_rankingList.log 2>&1
# 天天提鹅
18 * * * * node /scripts/jd_daily_egg.js >> /scripts/logs/jd_daily_egg.log 2>&1
# 金融养猪
12 * * * * node /scripts/jd_pigPet.js >> /scripts/logs/jd_pigPet.log 2>&1
# 点点券
20 0,20 * * * node /scripts/jd_necklace.js >> /scripts/logs/jd_necklace.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
# 东东工厂
36 * * * * node /scripts/jd_jdfactory.js >> /scripts/logs/jd_jdfactory.log 2>&1
# 十元街
36 8,18 * * * node /scripts/jd_syj.js >> /scripts/logs/jd_syj.log 2>&1
# 京东快递签到
23 1 * * * node /scripts/jd_kd.js >> /scripts/logs/jd_kd.log 2>&1
# 京东汽车(签到满500赛点可兑换500京豆)
0 0 * * * 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
# 微信小程序京东赚赚
10 11 * * * node /scripts/jd_jdzz.js >> /scripts/logs/jd_jdzz.log 2>&1
# 宠汪汪邀请助力
10 10,11 * * * node /scripts/jd_joy_run.js >> /scripts/logs/jd_joy_run.log 2>&1
# 注销京东已开的店铺会员不是注销京东plus会员个别店铺无法注销
44 4 * * 6 node /scripts/jd_unbind.js >> /scripts/logs/jd_unbind.log 2>&1
# crazyJoy自动每日任务
10 7 * * * node /scripts/jd_crazy_joy.js >> /scripts/logs/jd_crazy_joy.log 2>&1
# 京东汽车旅程赛点兑换金豆
0 0 * * * node /scripts/jd_car_exchange.js >> /scripts/logs/jd_car_exchange.log 2>&1
# 导到所有互助码
47 7 * * * node /scripts/jd_get_share_code.js >> /scripts/logs/jd_get_share_code.log 2>&1
# 口袋书店
7 8,12,18 * * * node /scripts/jd_bookshop.js >> /scripts/logs/jd_bookshop.log 2>&1
# 京喜农场
0 9,12,18 * * * node /scripts/jd_jxnc.js >> /scripts/logs/jd_jxnc.log 2>&1
# 签到领现金
27 7 * * * node /scripts/jd_cash.js >> /scripts/logs/jd_cash.log 2>&1
# 京喜app签到
39 7 * * * node /scripts/jx_sign.js >> /scripts/logs/jx_sign.log 2>&1
#京东家庭号(暂不知最佳cron)
*/20 * * * * node /scripts/jd_family.js >> /scripts/logs/jd_family.log 2>&1

92
docker/default_task.sh Normal file
View File

@@ -0,0 +1,92 @@
#!/bin/sh
set -e
echo "定义定时任务合并处理用到的文件路径..."
defaultListFile="/scripts/docker/$DEFAULT_LIST_FILE"
echo "默认文件定时任务文件路径为 ${defaultListFile}"
if [ $CUSTOM_LIST_FILE ]; then
customListFile="/scripts/docker/$CUSTOM_LIST_FILE"
echo "自定义定时任务文件路径为 ${customListFile}"
fi
mergedListFile="/scripts/docker/merged_list_file.sh"
echo "合并后定时任务文件路径为 ${mergedListFile}"
echo "第3步将默认定时任务列表添加到并后定时任务文件..."
cat $defaultListFile >$mergedListFile
echo "第2步判断是否存在自定义任务任务列表并追加..."
if [ $CUSTOM_LIST_FILE ]; then
echo "您配置了自定义任务文件:$CUSTOM_LIST_FILE,自定义任务类型为:$CUSTOM_LIST_MERGE_TYPE..."
if [ -f "$customListFile" ]; then
if [ $CUSTOM_LIST_MERGE_TYPE == "append" ]; then
echo "合并默认定时任务文件:$DEFAULT_LIST_FILE 和 自定义定时任务文件:$CUSTOM_LIST_FILE"
echo -e "" >>$mergedListFile
cat $customListFile >>$mergedListFile
elif [ $CUSTOM_LIST_MERGE_TYPE == "overwrite" ]; then
echo "配置了自定义任务文件:$CUSTOM_LIST_FILE,自定义任务类型为:$CUSTOM_LIST_MERGE_TYPE..."
cat $customListFile >$mergedListFile
else
echo "配置配置了错误的自定义定时任务类型:$CUSTOM_LIST_MERGE_TYPE自定义任务类型为只能为append或者overwrite..."
fi
else
echo "配置的自定义任务文件:$CUSTOM_LIST_FILE未找到,使用默认配置$DEFAULT_LIST_FILE..."
fi
else
echo "当前只使用了默认定时任务文件 $DEFAULT_LIST_FILE ..."
fi
echo "第3步判断是否配置了默认脚本更新任务..."
if [ $(grep -c "default_task.sh" $mergedListFile) -eq '0' ]; then
echo "合并后的定时任务文件,未包含必须的默认定时任务,增加默认定时任务..."
echo -e >>$mergedListFile
echo "52 */1 * * * docker_entrypoint.sh >> /scripts/logs/default_task.log 2>&1" >>$mergedListFile
else
sed -i "/default_task.sh/d" $mergedListFile
echo "#脚本追加默认定时任务" >>$mergedListFile
echo "52 */1 * * * docker_entrypoint.sh >> /scripts/logs/default_task.log 2>&1" >>$mergedListFile
fi
echo "第5步判断是否配置了随即延迟参数..."
if [ $RANDOM_DELAY_MAX ]; then
if [ $RANDOM_DELAY_MAX -ge 1 ]; then
echo "已设置随机延迟为 $RANDOM_DELAY_MAX , 设置延迟任务中..."
sed -i "/\(jd_bean_sign.js\|jd_blueCoin.js\|jd_joy_reward.js\|jd_joy_steal.js\|jd_joy_feedPets.js\|jd_car_exchange.js\)/!s/node/sleep \$((RANDOM % \$RANDOM_DELAY_MAX)); node/g" $mergedListFile
fi
else
echo "未配置随即延迟对应的环境变量,故不设置延迟任务..."
fi
echo "第6步判断是否配置自定义shell执行脚本..."
if [ 0"$CUSTOM_SHELL_FILE" = "0" ]; then
echo "未配置自定shell脚本文件跳过执行。"
else
if expr "$CUSTOM_SHELL_FILE" : 'http.*' &>/dev/null; then
echo "自定义shell脚本为远程脚本开始下在自定义远程脚本。"
wget -O /scripts/docker/shell_script_mod.sh $CUSTOM_SHELL_FILE
echo "下载完成,开始执行..."
echo "#远程自定义shell脚本追加定时任务" >>$mergedListFile
sh -x /scripts/docker/shell_script_mod.sh
echo "自定义远程shell脚本下载并执行结束。"
else
if [ ! -f $CUSTOM_SHELL_FILE ]; then
echo "自定义shell脚本为docker挂载脚本文件但是指定挂载文件不存在跳过执行。"
else
echo "docker挂载的自定shell脚本开始执行..."
echo "#docker挂载自定义shell脚本追加定时任务" >>$mergedListFile
sh -x $CUSTOM_SHELL_FILE
echo "docker挂载的自定shell脚本执行结束。"
fi
fi
fi
echo "第7步增加 |ts 任务日志输出时间戳..."
sed -i "/\( ts\| |ts\|| ts\)/!s/>>/\|ts >>/g" $mergedListFile
echo "第8步执行proc_file.sh脚本任务..."
sh -x /scripts/docker/proc_file.sh
echo "第9步加载最新的定时任务文件..."
crontab $mergedListFile
echo "第10步将仓库的docker_entrypoint.sh脚本更新至系统/usr/local/bin/docker_entrypoint.sh内..."
cat /scripts/docker/docker_entrypoint.sh >/usr/local/bin/docker_entrypoint.sh

View File

@@ -0,0 +1,28 @@
#!/bin/sh
set -e
#获取配置的自定义参数
if [ $1 ]; then
run_cmd=$1
fi
echo "设定远程仓库地址..."
cd /scripts
git remote set-url origin $REPO_URL
git reset --hard
echo "git pull拉取最新代码..."
git -C /scripts pull --rebase
echo "npm install 安装最新依赖"
npm install --prefix /scripts
echo "------------------------------------------------执行定时任务任务shell脚本------------------------------------------------"
sh -x /scripts/docker/default_task.sh
echo "--------------------------------------------------默认定时任务执行完成---------------------------------------------------"
if [ $run_cmd ]; then
echo "Start crontab task main process..."
echo "启动crondtab定时任务主进程..."
crond -f
else
echo "默认定时任务执行结束。"
fi

View File

@@ -0,0 +1,60 @@
jd_scripts:
image: lxk0301/jd_scripts
# 配置服务器资源约束。此例子中服务被限制为使用内存不超过200M以及cpu不超过0.2单核的20%
# 经过实际测试建议不低于200M
# deploy:
# resources:
# limits:
# cpus: '0.2'
# memory: 200M
container_name: jd_scripts
restart: always
volumes:
- ./my_crontab_list.sh:/scripts/docker/my_crontab_list.sh
- ./logs:/scripts/logs
tty: true
# 因为更换仓库地址可能git pull的dns解析不到可以在配置追加hosts
extra_hosts:
- "gitee.com:180.97.125.228"
- "github.com:13.229.188.59"
- "raw.githubusercontent.com:151.101.228.133"
environment:
#脚本更新仓库地址,配置了会切换到对应的地址
- REPO_URL=https://gitee.com/lxk0301/jd_scripts.git
# 注意环境变量填写值的时候一律不需要引号(""或者'')下面这些只是事例,根据自己的需求增加删除
#jd cookies
# 例: JD_COOKIE=pt_key=XXX;pt_pin=XXX
- JD_COOKIE=
#微信server酱通
- PUSH_KEY=
#Bark App通知
- BARK_PUSH=
#telegram机器人通知
- TG_BOT_TOKEN=
- TG_USER_ID=
#钉钉机器人通知
- DD_BOT_TOKEN=
- DD_BOT_SECRET=
#企业微信机器人通知
- QYWX_KEY=
#京东种豆得豆
- PLANT_BEAN_SHARECODES=
#京东农场
# 例: FRUITSHARECODES=京东农场的互助码
- FRUITSHARECODES=
#京东萌宠
# 例: PETSHARECODES=东东萌宠的互助码
- PETSHARECODES=
# 宠汪汪的喂食数量
- JOY_FEED_COUNT=
#京小超
# - SUPERMARKET_SHARECODES=
#兑换多少数量的京豆20或者1000京豆,或者其他奖品的文字)
# 例: MARKET_COIN_TO_BEANS=1000
- MARKET_COIN_TO_BEANS=
#是否开启debug模式打印日志
# 例: JD_DEBUG=false
- JD_DEBUG=
#使用自定义定任务追加默认任务之后上面volumes挂载之后这里配置对应的文件名
- CUSTOM_LIST_FILE=my_crontab_list.sh

View File

@@ -0,0 +1,60 @@
jd_scripts:
image: lxk0301/jd_scripts
# 配置服务器资源约束。此例子中服务被限制为使用内存不超过200M以及cpu不超过0.2单核的20%
# 经过实际测试建议不低于200M
# deploy:
# resources:
# limits:
# cpus: '0.2'
# memory: 200M
container_name: jd_scripts
restart: always
volumes:
- ./my_crontab_list.sh:/scripts/docker/my_crontab_list.sh
- ./logs:/scripts/logs
tty: true
# 因为更换仓库地址可能git pull的dns解析不到可以在配置追加hosts
extra_hosts:
- "gitee.com:180.97.125.228"
- "github.com:13.229.188.59"
- "raw.githubusercontent.com:151.101.228.133"
environment:
#脚本更新仓库地址,配置了会切换到对应的地址
- REPO_URL=https://gitee.com/lxk0301/jd_scripts.git
# 注意环境变量填写值的时候一律不需要引号(""或者'')下面这些只是事例,根据自己的需求增加删除
#jd cookies
# 例: JD_COOKIE=pt_key=XXX;pt_pin=XXX
- JD_COOKIE=
#微信server酱通
- PUSH_KEY=
#Bark App通知
- BARK_PUSH=
#telegram机器人通知
- TG_BOT_TOKEN=
- TG_USER_ID=
#钉钉机器人通知
- DD_BOT_TOKEN=
- DD_BOT_SECRET=
#企业微信机器人通知
- QYWX_KEY=
#京东种豆得豆
- PLANT_BEAN_SHARECODES=
#京东农场
# 例: FRUITSHARECODES=京东农场的互助码
- FRUITSHARECODES=
#京东萌宠
# 例: PETSHARECODES=东东萌宠的互助码
- PETSHARECODES=
# 宠汪汪的喂食数量
- JOY_FEED_COUNT=
#京小超
# - SUPERMARKET_SHARECODES=
#兑换多少数量的京豆20或者1000京豆,或者其他奖品的文字)
# 例: MARKET_COIN_TO_BEANS=1000
- MARKET_COIN_TO_BEANS=
#是否开启debug模式打印日志
# 例: JD_DEBUG=false
- JD_DEBUG=
#使用自定义定任务追加默认任务之后上面volumes挂载之后这里配置对应的文件名和自定义文件使用方式为overwrite
- CUSTOM_LIST_FILE=my_crontab_list.sh
- CUSTOM_LIST_MERGE_TYPE=overwrite

View File

@@ -0,0 +1,61 @@
jd_scripts:
image: lxk0301/jd_scripts
# 配置服务器资源约束。此例子中服务被限制为使用内存不超过200M以及cpu不超过0.2单核的20%
# 经过实际测试建议不低于200M
# deploy:
# resources:
# limits:
# cpus: '0.2'
# memory: 200M
container_name: jd_scripts
restart: always
volumes:
- ./logs:/scripts/logs
tty: true
# 因为更换仓库地址可能git pull的dns解析不到可以在配置追加hosts
extra_hosts:
- "gitee.com:180.97.125.228"
- "github.com:13.229.188.59"
- "raw.githubusercontent.com:151.101.228.133"
environment:
#脚本更新仓库地址,配置了会切换到对应的地址
- REPO_URL=https://gitee.com/lxk0301/jd_scripts.git
# 注意环境变量填写值的时候一律不需要引号(""或者'')下面这些只是事例,根据自己的需求增加删除
#jd cookies
# 例: JD_COOKIE=pt_key=XXX;pt_pin=XXX
- JD_COOKIE=
#微信server酱通
- PUSH_KEY=
#Bark App通知
- BARK_PUSH=
#telegram机器人通知
- TG_BOT_TOKEN=
- TG_USER_ID=
#钉钉机器人通知
- DD_BOT_TOKEN=
- DD_BOT_SECRET=
#企业微信机器人通知
- QYWX_KEY=
#京东种豆得豆
- PLANT_BEAN_SHARECODES=
#京东农场
# 例: FRUITSHARECODES=京东农场的互助码
- FRUITSHARECODES=
#京东萌宠
# 例: PETSHARECODES=东东萌宠的互助码
- PETSHARECODES=
# 宠汪汪的喂食数量
- JOY_FEED_COUNT=
#京小超
# - SUPERMARKET_SHARECODES=
#兑换多少数量的京豆20或者1000京豆,或者其他奖品的文字)
# 例: MARKET_COIN_TO_BEANS=1000
- MARKET_COIN_TO_BEANS=
#是否开启debug模式打印日志
# 例: JD_DEBUG=false
- JD_DEBUG=
#如果设置了 RANDOM_DELAY_MAX ,则会启用随机延迟功能,延迟随机 0 到 RANDOM_DELAY_MAX-1 秒。如果不设置此项,则不使用延迟。
#并不是所有的脚本都会被启用延迟因为有一些脚本需要整点触发。延迟的目的有两个1是降低抢占cpu资源几率2是降低检查风险主要是1
#填写数字,单位为秒,比如写为 RANDOM_DELAY_MAX=30 就是随机产生0到29之间的一个秒数执行延迟的意思。
- RANDOM_DELAY_MAX=

View File

@@ -0,0 +1,83 @@
### 使用此方式,请先理解学会使用[docker办法一](https://github.com/LXK9301/jd_scripts/tree/master/docker#%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AA%E7%9B%AE%E5%BD%95jd_scripts%E7%94%A8%E4%BA%8E%E5%AD%98%E6%94%BE%E5%A4%87%E4%BB%BD%E9%85%8D%E7%BD%AE%E7%AD%89%E6%95%B0%E6%8D%AE%E8%BF%81%E7%A7%BB%E9%87%8D%E8%A3%85%E7%9A%84%E6%97%B6%E5%80%99%E5%8F%AA%E9%9C%80%E8%A6%81%E5%A4%87%E4%BB%BD%E6%95%B4%E4%B8%AAjd_scripts%E7%9B%AE%E5%BD%95%E5%8D%B3%E5%8F%AF)的使用方式
> 发现有人好像希望不同账户任务并发执行,不想一个账户执行完了才能再执行另一个,这里写一个`docker办法一`的基础上实现方式,其实就是不同账户创建不同的容器,他们互不干扰单独定时执行自己的任务。
配置使用起来还是比较简单的,具体往下看
### 文件夹目录参考
![image](https://user-images.githubusercontent.com/6993269/97781779-885ae700-1bc8-11eb-93a4-b274cbd6062c.png)
### 具体使用说明直接在图片标注了,文件参考[图片下方](https://github.com/LXK9301/jd_scripts/new/master/docker#docker-composeyml%E6%96%87%E4%BB%B6%E5%8F%82%E8%80%83),配置完成后的[执行命令]()
![image](https://user-images.githubusercontent.com/6993269/97781610-a1af6380-1bc7-11eb-9397-903b47f5ad6b.png)
#### `docker-compose.yml`文件参考
```yaml
version: "3"
services:
jd_scripts1: #默认
image: lxk0301/jd_scripts
# 配置服务器资源约束。此例子中服务被限制为使用内存不超过200M以及cpu不超过 0.2单核的20%
# 经过实际测试建议不低于200M
# deploy:
# resources:
# limits:
# cpus: '0.2'
# memory: 200M
restart: always
container_name: jd_scripts1
tty: true
volumes:
- ./logs1:/scripts/logs
environment:
- JD_COOKIE=pt_key=AAJfjaNrADAS8ygfgIsOxxxxxxxKpfDaZ2pSBOYTxtPqLK8U1Q;pt_pin=lxxxxxx5;
- TG_BOT_TOKEN=130xxxx280:AAExxxxxxWP10zNf91WQ
- TG_USER_ID=12xxxx206
# 互助助码等参数可自行增加,如下。
# 京东种豆得豆
# - PLANT_BEAN_SHARECODES=
jd_scripts2: #默认
image: lxk0301/jd_scripts
restart: always
container_name: jd_scripts2
tty: true
volumes:
- ./logs2:/scripts/logs
environment:
- JD_COOKIE=pt_key=AAJfjaNrADAS8ygfgIsOxxxxxxxKpfDaZ2pSBOYTxtPqLK8U1Q;pt_pin=lxxxxxx5;
- TG_BOT_TOKEN=130xxxx280:AAExxxxxxWP10zNf91WQ
- TG_USER_ID=12xxxx206
jd_scripts4: #自定义追加默认之后
image: lxk0301/jd_scripts
restart: always
container_name: jd_scripts4
tty: true
volumes:
- ./logs4:/scripts/logs
- ./my_crontab_list4.sh:/scripts/docker/my_crontab_list.sh
environment:
- JD_COOKIE=pt_key=AAJfjaNrADAS8ygfgIsOxxxxxxxKpfDaZ2pSBOYTxtPqLK8U1Q;pt_pin=lxxxxxx5;
- TG_BOT_TOKEN=130xxxx280:AAExxxxxxWP10zNf91WQ
- TG_USER_ID=12xxxx206
- CUSTOM_LIST_FILE=my_crontab_list.sh
jd_scripts5: #自定义覆盖默认
image: lxk0301/jd_scripts
restart: always
container_name: jd_scripts5
tty: true
volumes:
- ./logs5:/scripts/logs
- ./my_crontab_list5.sh:/scripts/docker/my_crontab_list.sh
environment:
- JD_COOKIE=pt_key=AAJfjaNrADAS8ygfgIsOxxxxxxxKpfDaZ2pSBOYTxtPqLK8U1Q;pt_pin=lxxxxxx5;
- TG_BOT_TOKEN=130xxxx280:AAExxxxxxWP10zNf91WQ
- TG_USER_ID=12xxxx206
- CUSTOM_LIST_FILE=my_crontab_list.sh
- CUSTOM_LIST_MERGE_TYPE=overwrite
```
#### 目录文件配置好之后在 `jd_scripts_multi`目录执行
`docker-compose up -d` 启动;
`docker-compose logs` 打印日志;
`docker-compose pull` 更新镜像;
`docker-compose stop` 停止容器;
`docker-compose restart` 重启容器;
`docker-compose down` 停止并删除容器;
![image](https://user-images.githubusercontent.com/6993269/97781935-8fcec000-1bc9-11eb-9d1a-d219e7a1caa9.png)

View File

@@ -0,0 +1,65 @@
{
"cap_add" : [],
"cap_drop" : [],
"cmd" : "",
"cpu_priority" : 50,
"devices" : null,
"enable_publish_all_ports" : false,
"enable_restart_policy" : true,
"enabled" : true,
"env_variables" : [
{
"key" : "PATH",
"value" : "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
},
{
"key" : "CDN_JD_DAILYBONUS",
"value" : "true"
},
{
"key" : "JD_COOKIE",
"value" : "pt_key=xxx;pt_pin=xxx;"
},
{
"key" : "PUSH_KEY",
"value" : ""
},
{
"key" : "CUSTOM_LIST_FILE",
"value" : "my_crontab_list.sh"
}
],
"exporting" : false,
"id" : "3a2f6f27c23f93bc104585c22569c760cc9ce82df09cdb41d53b491fe1d0341c",
"image" : "lxk0301/jd_scripts",
"is_ddsm" : false,
"is_package" : false,
"links" : [],
"memory_limit" : 0,
"name" : "jd_scripts",
"network" : [
{
"driver" : "bridge",
"name" : "bridge"
}
],
"network_mode" : "default",
"port_bindings" : [],
"privileged" : false,
"shortcut" : {
"enable_shortcut" : false
},
"use_host_network" : false,
"volume_bindings" : [
{
"host_volume_file" : "/docker/jd_scripts/my_crontab_list.sh",
"mount_point" : "/scripts/docker/my_crontab_list.sh",
"type" : "rw"
},
{
"host_volume_file" : "/docker/jd_scripts/logs",
"mount_point" : "/scripts/logs",
"type" : "rw"
}
]
}

View File

@@ -0,0 +1,69 @@
{
"cap_add" : [],
"cap_drop" : [],
"cmd" : "",
"cpu_priority" : 50,
"devices" : null,
"enable_publish_all_ports" : false,
"enable_restart_policy" : true,
"enabled" : true,
"env_variables" : [
{
"key" : "PATH",
"value" : "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
},
{
"key" : "CDN_JD_DAILYBONUS",
"value" : "true"
},
{
"key" : "JD_COOKIE",
"value" : "pt_key=xxx;pt_pin=xxx;"
},
{
"key" : "PUSH_KEY",
"value" : ""
},
{
"key" : "CUSTOM_LIST_FILE",
"value" : "my_crontab_list.sh"
},
{
"key" : "CUSTOM_LIST_MERGE_TYPE",
"value" : "overwrite"
}
],
"exporting" : false,
"id" : "3a2f6f27c23f93bc104585c22569c760cc9ce82df09cdb41d53b491fe1d0341c",
"image" : "lxk0301/jd_scripts",
"is_ddsm" : false,
"is_package" : false,
"links" : [],
"memory_limit" : 0,
"name" : "jd_scripts",
"network" : [
{
"driver" : "bridge",
"name" : "bridge"
}
],
"network_mode" : "default",
"port_bindings" : [],
"privileged" : false,
"shortcut" : {
"enable_shortcut" : false
},
"use_host_network" : false,
"volume_bindings" : [
{
"host_volume_file" : "/docker/jd_scripts/my_crontab_list.sh",
"mount_point" : "/scripts/docker/my_crontab_list.sh",
"type" : "rw"
},
{
"host_volume_file" : "/docker/jd_scripts/logs",
"mount_point" : "/scripts/logs",
"type" : "rw"
}
]
}

View File

@@ -0,0 +1,83 @@
{
"cap_add" : null,
"cap_drop" : null,
"cmd" : "",
"cpu_priority" : 0,
"devices" : null,
"enable_publish_all_ports" : false,
"enable_restart_policy" : true,
"enabled" : false,
"env_variables" : [
{
"key" : "PATH",
"value" : "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
},
{
"key" : "CDN_JD_DAILYBONUS",
"value" : "true"
},
{
"key" : "JD_COOKIE",
"value" : "pt_key=AAJfjaNrADASxxxxxxxKpfDaZ2pSBOYTxtPqLK8U1Q;pt_pin=lxxxxx5;"
},
{
"key" : "TG_BOT_TOKEN",
"value" : "13xxxxxx80:AAEkNxxxxxxzNf91WQ"
},
{
"key" : "TG_USER_ID",
"value" : "12xxxx206"
},
{
"key" : "PLANT_BEAN_SHARECODES",
"value" : ""
},
{
"key" : "FRUITSHARECODES",
"value" : ""
},
{
"key" : "PETSHARECODES",
"value" : ""
},
{
"key" : "SUPERMARKET_SHARECODES",
"value" : ""
},
{
"key" : "CRONTAB_LIST_FILE",
"value" : "crontab_list.sh"
}
],
"exporting" : false,
"id" : "18af38bc0ac37a40e4b9608a86fef56c464577cc160bbdddec90155284fcf4e5",
"image" : "lxk0301/jd_scripts",
"is_ddsm" : false,
"is_package" : false,
"links" : [],
"memory_limit" : 0,
"name" : "jd_scripts",
"network" : [
{
"driver" : "bridge",
"name" : "bridge"
}
],
"network_mode" : "default",
"port_bindings" : [],
"privileged" : false,
"shortcut" : {
"enable_shortcut" : false,
"enable_status_page" : false,
"enable_web_page" : false,
"web_page_url" : ""
},
"use_host_network" : false,
"volume_bindings" : [
{
"host_volume_file" : "/docker/jd_scripts/logs",
"mount_point" : "/scripts/logs",
"type" : "rw"
}
]
}

62
docker/example/multi.yml Normal file
View File

@@ -0,0 +1,62 @@
version: "3"
services:
jd_scripts1: #默认
image: lxk0301/jd_scripts
# 配置服务器资源约束。此例子中服务被限制为使用内存不超过200M以及cpu不超过 0.2单核的20%
# 经过实际测试建议不低于200M
# deploy:
# resources:
# limits:
# cpus: '0.2'
# memory: 200M
restart: always
container_name: jd_scripts1
tty: true
volumes:
- ./logs1:/scripts/logs
environment:
- JD_COOKIE=pt_key=AAJfjaNrADAS8ygfgIsOxxxxxxxKpfDaZ2pSBOYTxtPqLK8U1Q;pt_pin=lxxxxxx5;
- TG_BOT_TOKEN=130xxxx280:AAExxxxxxWP10zNf91WQ
- TG_USER_ID=12xxxx206
# 互助助码等参数可自行增加,如下。
# 京东种豆得豆
# - PLANT_BEAN_SHARECODES=
jd_scripts2: #默认
image: lxk0301/jd_scripts
restart: always
container_name: jd_scripts2
tty: true
volumes:
- ./logs2:/scripts/logs
environment:
- JD_COOKIE=pt_key=AAJfjaNrADAS8ygfgIsOxxxxxxxKpfDaZ2pSBOYTxtPqLK8U1Q;pt_pin=lxxxxxx5;
- TG_BOT_TOKEN=130xxxx280:AAExxxxxxWP10zNf91WQ
- TG_USER_ID=12xxxx206
jd_scripts4: #自定义追加默认之后
image: lxk0301/jd_scripts
restart: always
container_name: jd_scripts4
tty: true
volumes:
- ./logs4:/scripts/logs
- ./my_crontab_list4.sh:/scripts/docker/my_crontab_list.sh
environment:
- JD_COOKIE=pt_key=AAJfjaNrADAS8ygfgIsOxxxxxxxKpfDaZ2pSBOYTxtPqLK8U1Q;pt_pin=lxxxxxx5;
- TG_BOT_TOKEN=130xxxx280:AAExxxxxxWP10zNf91WQ
- TG_USER_ID=12xxxx206
- CUSTOM_LIST_FILE=my_crontab_list.sh
jd_scripts5: #自定义覆盖默认
image: lxk0301/jd_scripts
restart: always
container_name: jd_scripts5
tty: true
volumes:
- ./logs5:/scripts/logs
- ./my_crontab_list5.sh:/scripts/docker/my_crontab_list.sh
environment:
- JD_COOKIE=pt_key=AAJfjaNrADAS8ygfgIsOxxxxxxxKpfDaZ2pSBOYTxtPqLK8U1Q;pt_pin=lxxxxxx5;
- TG_BOT_TOKEN=130xxxx280:AAExxxxxxWP10zNf91WQ
- TG_USER_ID=12xxxx206
- CUSTOM_LIST_FILE=my_crontab_list.sh
- CUSTOM_LIST_MERGE_TYPE=overwrite

View File

@@ -0,0 +1,9 @@
const notify = require('../sendNotify');
function image_update_notify() {
if (process.env.NOTIFY_CONTENT) {
notify.sendNotify("⚠Docker镜像版本更新通知⚠", process.env.NOTIFY_CONTENT)
}
}
image_update_notify();

59
docker/proc_file.sh Normal file
View File

@@ -0,0 +1,59 @@
#!/bin/sh
echo "整理各个日志文件里面的互助码相关信息。。。"
echo "==========================================================================="
logdDir="/scripts/logs"
sharecodeFile="${logdDir}/sharecode.log"
jdzzFile="${logdDir}/jd_jdzz.log"
jdfactoryFile="${logdDir}/jd_jdfactory.log"
jxFactoryFile="${logdDir}/jd_dreamFactory.log"
plantBean="${logdDir}/jd_plantBean.log"
jdfruit="${logdDir}/jd_fruit.log"
jdpet="${logdDir}/jd_pet.log"
jdcrazyJoy="${logdDir}/jd_crazy_joy.log"
echo -e >$sharecodeFile
sed -n '/京东赚赚好友互助码】.*/'p $jdzzFile | awk '{print $4,$5}' | sort | uniq >>$sharecodeFile
echo "提取京东赚赚助力码完成"
sed -n '/东东工厂好友互助码】.*/'p $jdfactoryFile | awk '{print $4,$5}' | sort | uniq >>$sharecodeFile
echo "提取东东工厂助力码完成"
sed -n '/京喜工厂好友互助码.*/'p $jxFactoryFile | awk '{print $4,$5}' | sort | uniq >>$sharecodeFile
echo "提取京喜工厂助力码完成"
sed -n '/京东种豆得豆好友互助码】.*/'p $plantBean | awk '{print $4,$5}' | sort | uniq >>$sharecodeFile
echo "提取京东种豆助力码完成"
sed -n '/东东农场好友互助码】.*/'p $jdfruit | awk '{print $4,$5}' | sort | uniq >>$sharecodeFile
echo "提取京东农场助力码完成"
sed -n '/东东萌宠好友互助码】.*/'p $jdpet | awk '{print $4,$5}' | sort | uniq >>$sharecodeFile
echo "提取东东萌宠助力码完成"
sed -n '/crazyJoy任务好友互助码】.*/'p $jdcrazyJoy | awk '{print $4,$5}' | sort | uniq >>$sharecodeFile
echo "提取crazyJoy任务助力码完成"
echo "==========================================================================="
echo "整理完成,具体结果请查看${sharecodeFile}文件"
echo "处理jd_crazy_joy_coin任务。。。"
if [ ! $CRZAY_JOY_COIN_ENABLE ]; then
echo "默认启用jd_crazy_joy_coin杀掉jd_crazy_joy_coin任务并重启"
eval $(ps -ef | grep "jd_crazy" | awk '{print "kill "$1}')
echo '' >/scripts/logs/jd_crazy_joy_coin.log
node /scripts/jd_crazy_joy_coin.js | ts >>/scripts/logs/jd_crazy_joy_coin.log 2>&1 &
echo "默认jd_crazy_joy_coin重启完成"
else
if [ $CRZAY_JOY_COIN_ENABLE = "Y" ]; then
echo "配置启用jd_crazy_joy_coin杀掉jd_crazy_joy_coin任务并重启"
eval $(ps -ef | grep "jd_crazy" | awk '{print "kill "$1}')
echo '' >/scripts/logs/jd_crazy_joy_coin.log
node /scripts/jd_crazy_joy_coin.js | ts >>/scripts/logs/jd_crazy_joy_coin.log 2>&1 &
echo "配置jd_crazy_joy_coin重启完成"
else
eval $(ps -ef | grep "jd_crazy" | awk '{print "kill "$1}')
echo "已配置不启用jd_crazy_joy_coin任务不处理"
fi
fi

191
getJDCookie.js Normal file

File diff suppressed because one or more lines are too long

137
githubAction.md Normal file
View File

@@ -0,0 +1,137 @@
## 环境变量说明
##### 京东(必须)
| Name | 归属 | 属性 | 说明 |
| :---------------------: | :----------: | --------- | ------------------------------------------------------------ |
| `JD_COOKIE` | 京东 | 必须 | 京东cookie,多个账号的cookie使用`&`隔开或者换行。具体获取参考[浏览器获取京东cookie教程](https://github.com/LXK9301/jd_scripts/blob/master/backUp/GetJdCookie.md) 或者 [插件获取京东cookie教程](https://github.com/LXK9301/jd_scripts/blob/master/backUp/GetJdCookie2.md) |
##### 京东隐私安全 环境变量
| Name | 归属 | 属性 | 说明 |
| :---------------------: | :----------: | --------- | ------------------------------------------------------------ |
| `JD_DEBUG` | 脚本打印log | 非必须 | 运行脚本时是否显示log,默认显示。改成false表示不显示注重隐私的人可以在设置secret -> `Name:JD_DEBUG,Value:false` |
| `JD_USER_AGENT` | 京东 | 非必须 | 自定义此库里京东系列脚本的UserAgent不懂不知不会UserAgent的请不要随意填写内容。如需使用此功能建议填写京东APP的UA |
##### 推送通知环境变量(目前提供`微信server酱`、`pushplus(推送加)`、`iOS Bark APP`、`telegram机器人`、`钉钉机器人`、`企业微信机器人`、`iGot`、`QQ酷推`等通知方式)
| Name | 归属 | 属性 | 说明 |
| :---------------------: | :----------: | --------- | ------------------------------------------------------------ |
| `PUSH_KEY` | 微信server酱推送 | 非必须 | server酱的微信通知[官方文档](http://sc.ftqq.com/3.version) |
| `BARK_PUSH` | [BARK推送](https://apps.apple.com/us/app/bark-customed-notifications/id1403753865) | 非必须 | IOS用户下载BARK这个APP,填写内容是app提供的`设备码`例如https://api.day.app/123 ,那么此处的设备码就是`123`,再不懂看 [这个图](icon/bark.jpg)(注:支持自建填完整链接即可) |
| `BARK_SOUND` | [BARK推送](https://apps.apple.com/us/app/bark-customed-notifications/id1403753865) | 非必须 | bark推送声音设置例如`choo`,具体值请在`bark`-`推送铃声`-`查看所有铃声` |
| `TG_BOT_TOKEN` | telegram推送 | 非必须 | tg推送(需设备可连接外网),`TG_BOT_TOKEN``TG_USER_ID`两者必需,填写自己申请[@BotFather](https://t.me/BotFather)的Token,如`10xxx4:AAFcqxxxxgER5uw` , [具体教程](./backUp/TG_PUSH.md) |
| `TG_USER_ID` | telegram推送 | 非必须 | tg推送(需设备可连接外网),`TG_BOT_TOKEN``TG_USER_ID`两者必需,填写[@getuseridbot](https://t.me/getuseridbot)中获取到的纯数字ID, [具体教程](./backUp/TG_PUSH.md) |
| `DD_BOT_TOKEN` | 钉钉推送 | 非必须 | 钉钉推送(`DD_BOT_TOKEN``DD_BOT_SECRET`两者必需)[官方文档](https://ding-doc.dingtalk.com/doc#/serverapi2/qf2nxq) ,只需`https://oapi.dingtalk.com/robot/send?access_token=XXX` 等于`=`符号后面的XXX即可 |
| `DD_BOT_SECRET` | 钉钉推送 | 非必须 | (`DD_BOT_TOKEN``DD_BOT_SECRET`两者必需) ,密钥机器人安全设置页面加签一栏下面显示的SEC开头的`SECXXXXXXXXXX`等字符 , 注:钉钉机器人安全设置只需勾选`加签`即可,其他选项不要勾选,再不懂看 [这个图](icon/DD_bot.png) |
| `QYWX_KEY` | 企业微信推送 | 非必须 | 密钥,企业微信推送 webhook 后面的 key [详见官方说明文档](https://work.weixin.qq.com/api/doc/90000/90136/91770) |
| `IGOT_PUSH_KEY` | iGot推送 | 非必须 | iGot聚合推送支持多方式推送确保消息可达。 [参考文档](https://wahao.github.io/Bark-MP-helper ) |
| `QQ_SKEY` | 酷推(Cool Push)推送 | 非必须 | 推送所需的Skey,登录后获取Skey [参考文档](https://cp.xuthus.cc/) |
| `QQ_MODE` | 酷推(Cool Push)推送 | 非必须 | 推送方式(send或group或者wx默认send) [参考文档](https://cp.xuthus.cc/) |
| `PUSH_PLUS_TOKEN` | pushplus推送 | 非必须 | 微信扫码登录后一对一推送或一对多推送下面的token(您的Token) [官方网站](http://pushplus.hxtrip.com/) |
| `PUSH_PLUS_USER` | pushplus推送 | 非必须 | 一对多推送的“群组编码”(一对多推送下面->您的群组(如无则新建)->群组编码)注:(1、需订阅者扫描二维码 2、如果您是创建群组所属人也需点击“查看二维码”扫描绑定否则不能接受群组消息推送),只填`PUSH_PLUS_TOKEN`默认为一对一推送 |
| `TG_PROXY_HOST` | Telegram 代理的 IP | 非必须 | 代理类型为 http。例子http代理 http://127.0.0.1:1080 则填写 127.0.0.1 |
| `TG_PROXY_PORT` | Telegram 代理的端口 | 非必须 | 例子http代理 http://127.0.0.1:1080 则填写 1080 |
##### 互助码类环境变量
| Name | 归属 | 属性 | 说明 |
| --------------------------- | ------------------ | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `FRUITSHARECODES` | 东东农场互助码 | 非必须 | 填写规则请看[jdFruitShareCodes.js](https://github.com/LXK9301/jd_scripts/blob/master/jdFruitShareCodes.js)或见下方[互助码的填写规则](#互助码的填写规则) |
| `PETSHARECODES` | 东东萌宠互助码 | 非必须 | 填写规则请看[jdPetShareCodes.js](https://github.com/LXK9301/jd_scripts/blob/master/jdPetShareCodes.js)或见下方[互助码的填写规则](#互助码的填写规则) |
| `PLANT_BEAN_SHARECODES` | 种豆得豆互助码 | 非必须 | 填写规则请看[jdPlantBeanShareCodes.js](https://github.com/LXK9301/jd_scripts/blob/master/jdPlantBeanShareCodes.js)或见下方[互助码的填写规则](#互助码的填写规则) |
| `SUPERMARKET_SHARECODES` | 东东超市商圈互助码 | 非必须 | 填写规则请看[jdSuperMarketShareCodes.js](https://github.com/LXK9301/jd_scripts/blob/master/jdSuperMarketShareCodes.js)或见下方[互助码的填写规则](#互助码的填写规则) |
| `DDFACTORY_SHARECODES` | 东东工厂互助码 | 非必须 | 填写规则请看[jdFactoryShareCodes.js](https://github.com/LXK9301/jd_scripts/blob/master/jdFactoryShareCodes.js)或见下方[互助码的填写规则](#互助码的填写规则) |
| `DREAM_FACTORY_SHARE_CODES` | 京喜工厂互助码 | 非必须 | 填写规则请看[jdDreamFactoryShareCodes.js](https://github.com/LXK9301/jd_scripts/blob/master/jdDreamFactoryShareCodes.js)或见下方[互助码的填写规则](#互助码的填写规则) |
| `JDZZ_SHARECODES` | 京东赚赚互助码 | 非必须 | 填写规则和上面类似,或见下方[互助码的填写规则](#互助码的填写规则) |
| `JDJOY_SHARECODES` | 疯狂的JOY互助码 | 非必须 | 填写规则和上面类似,或见下方[互助码的填写规则](#互助码的填写规则) |
| `BOOKSHOP_SHARECODES` | 京东书店互助码 | 非必须 | 填写规则和上面类似,或见下方[互助码的填写规则](#互助码的填写规则) |
| `JD_CASH_SHARECODES` | 签到领现金互助码 | 非必须 | 填写规则和上面类似,或见下方[互助码的填写规则](#互助码的填写规则) |
| `JXNC_SHARECODES` | 京喜农场互助码 | 非必须 | 填写规则和上面类似,或见下方[互助码的填写规则](#互助码的填写规则) |
| `JDNIAN_SHARECODES` | 炸年兽互助码 | 非必须 | 填写规则和上面类似,或见下方[互助码的填写规则](#互助码的填写规则) |
##### 控制脚本功能环境变量
| Name | 归属 | 属性 | 说明 |
| ---------------------------- | --------------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `JD_BEAN_STOP` | 京东 | 非必须 | `jd_bean_sign.js`自定义延迟签到,单位毫秒.默认分批并发无延迟.延迟作用于每个签到接口,如填入延迟则切换顺序签到(耗时较长),如需填写建议输入数字`1`,详见[此处说明](https://github.com/NobyDa/Script/blob/master/JD-DailyBonus/JD_DailyBonus.js#L93) |
| `JD_BEAN_SIGN_STOP_NOTIFY` | 京东 | 非必须 | `jd_bean_sign.js`脚本运行后不推送签到结果通知,默认推送,填`true`表示不发送通知 |
| `JD_BEAN_SIGN_NOTIFY_SIMPLE` | 京东 | 非必须 | `jd_bean_sign.js`脚本运行后推送签到结果简洁版通知,默认推送全部签到结果,填`true`表示推送简洁通知,[效果图](./icon/bean_sign_simple.jpg) |
| `PET_NOTIFY_CONTROL` | 东东萌宠推送开关 | 非必须 | 控制京东萌宠是否静默运行,`false`为否(发送推送通知消息),`true`为是(即:不发送推送通知消息) |
| `FRUIT_NOTIFY_CONTROL` | 东东农场推送开关 | 非必须 | 控制京东农场是否静默运行,`false`为否(发送推送通知消息),`true`为是(即:不发送推送通知消息) |
| `JD_JOY_REWARD_NOTIFY` | 宠汪汪兑换京豆推送开关 | 非必须 | 控制`jd_joy_reward.js`脚本是否静默运行,`false`为否(发送推送通知消息),`true`为是(即:不发送推送通知消息) |
| `JD_818_SHAREID_NOTIFY` | 京东818互助码通知开关 | 非必须 | 控制`jd_818.js`脚本是否在获取互助码后通知,`true`为是(发送推送通知消息),`false`为否(即:不发送推送通知消息) |
| `JOY_FEED_COUNT` | 宠汪汪喂食数量 | 非必须 | 控制`jd_joy_feedPets.js`脚本喂食数量,可以填的数字10,20,40,80,其他数字不可. |
| `JOY_HELP_FEED` | 宠汪汪帮好友喂食 | 非必须 | 控制`jd_joy_steal.js`脚本是否给好友喂食,`false`为否,`true`为是(给好友喂食) |
| `JOY_RUN_FLAG` | 宠汪汪是否赛跑 | 非必须 | 控制`jd_joy.js`脚本是否参加赛跑(默认参加双人赛跑),`false`为否,`true`为是,脚本默认是`true` |
| `JOY_TEAM_LEVEL` | 宠汪汪参加什么级别的赛跑 | 非必须 | 控制`jd_joy.js`脚本参加几人的赛跑,可选数字为`2`,`10`,`50`其中2代表参加双人PK赛10代表参加10人突围赛50代表参加50人挑战赛(注:此项功能在`JOY_RUN_FLAG`为true的时候才生效),如若想设置不同账号参加不同类别的比赛则用&区分即可(如下三个账号:`2&10&50`) |
| `JD_JOY_REWARD_NAME` | 宠汪汪积分兑换多少京豆 | 非必须 | 目前可填值为`20`或者`500`,脚本默认`20`,`0`表示不兑换京豆 |
| `MARKET_COIN_TO_BEANS` | 京小超兑换京豆数量 | 非必须 | 控制`jd_blueCoin.js`兑换京豆数量,可输入值为`20`或者`1000`的数字或者其他商品的名称,例如`碧浪洗衣凝珠` |
| `MARKET_REWARD_NOTIFY` | 京小超兑换奖品推送开关 | 非必须 | 控制`jd_blueCoin.js`兑换奖品成功后是否静默运行,`false`为否(发送推送通知消息),`true`为是(即:不发送推送通知消息) |
| `SUPERMARKET_UPGRADE` | 京小超自动升级 | 非必须 | 自动升级,顺序:解锁升级商品、升级货架,`true`表示自动升级,`false`表示关闭自动升级 |
| `BUSINESS_CIRCLE_JUMP` | 京小超自动更换商圈 | 非必须 | 小于对方300热力值自动更换商圈队伍,`true`表示运行,`false`表示禁止 |
| `SUPERMARKET_LOTTERY` | 京小超抽奖 | 非必须 | 每天运行脚本是否使用金币去抽奖,`true`表示抽奖,`false`表示不抽奖 |
| `FRUIT_BEAN_CARD` | 农场使用水滴换豆卡 | 非必须 | 农场使用水滴换豆卡(如果出现限时活动时100g水换20豆,此时比浇水划算,推荐换豆),`true`表示换豆(不浇水),`false`表示不换豆(继续浇水),脚本默认是浇水 |
| `UN_SUBSCRIBES` | jd_unsubscribe.js | 非必须 | 共四个参数,换行隔开.四个参数分别表示`取关商品数量`,`取关店铺数量`,`遇到此商品不再进行取关`,`遇到此店铺不再进行取关`[具体使用往下看](#取关店铺secret的说明) |
| `UN_BIND_CARD_NUM` | jd_unbind.js | 非必须 | 注销京东已开的店铺会员不是注销京东plus会员个别店铺无法注销。此参数控制每次运行脚本时注销多少个店铺会员默认200。 |
| `UN_BIND_STOP_CARD` | jd_unbind.js | 非必须 | 注销京东已开的店铺会员不是注销京东plus会员个别店铺无法注销。遇到此参数设定的会员卡则跳过不注销多个会员卡之间以`&`分隔,默认值"京东PLUS会员"。 |
| `JDJOY_HELPSELF` | 疯狂的JOY | 非必须 | 疯狂的JOY循环助力`true`表示循环助力,`false`表示不循环助力,默认不开启循环助力。 |
| `JDJOY_APPLYJDBEAN` | 疯狂的JOY | 非必须 | 疯狂的JOY京豆兑换目前最小值为2000京豆(详情请查看活动页面-提现京豆),默认数字`0`不开启京豆兑换。 |
| `BUY_JOY_LEVEL` | 疯狂的JOY | 非必须 | 疯狂的JOY自动购买什么等级的JOY |
| `MONEY_TREE_SELL_FRUIT` | 摇钱树是否卖出金果 | 非必须 | 控制摇钱树脚本是否自动卖出金果兑换成金币,`true`卖出,`false`不卖出,默认`false` |
| `FACTORAY_WANTPRODUCT_NAME` | 东东工厂心仪商品 | 非必须 | 提供心仪商品名称(请尽量填写完整和别的商品有区分度),达到条件后兑换,如不提供则会兑换当前所选商品 |
| `JXNCTOKENS` | 京喜农场TOKEN | 非必须 | 每个账号 token 是一个 json示例{"farm_jstoken":"749a90f871adsfads8ffda7bf3b1576760","timestamp":"1610165423873","phoneid":"42c7e3dadfadsfdsaac-18f0e4f4a0cf"},多账单间使用`&`或换行分开。 |
##### 互助码的填写规则
> 互助码如何获取:运行相应脚本后,在日志里面可以找到。(如何查看日志上面有写,详见 如何查看action运行情况)
同一个京东账号的好友互助码用@隔开,不同京东账号互助码用&或者换行隔开,下面给一个文字示例和具体互助码示例说明
两个账号各两个互助码的文字示例:
```
京东账号1的shareCode1@京东账号1的shareCode2&京东账号2的shareCode1@京东账号2的shareCode2
```
两个账号各两个互助码的真实示例:
```
0a74407df5df4fa99672a037eec61f7e@dbb21614667246fabcfd9685b6f448f3&6fbd26cc27ac44d6a7fed34092453f77@61ff5c624949454aa88561f2cd721bf6&6fbd26cc27ac44d6a7fed34092453f77@61ff5c624949454aa88561f2cd721bf6
```
#### 取关店铺secret的说明
> secret依次是`取关商品数`,`取关店铺数`,`遇到此商品不再进行取关`,`遇到此店铺不再进行取关`
例如我要取关 `100`个商品,`100`个店铺,商品遇到商品关键字 `iPhone12` 停止取关,店铺遇到 `Apple京东自营旗舰店` 不再取关
则使用`换行`或者`&`隔开即可,
下面给出换行隔开示例:
```
100
100
iPhone12
Apple京东自营旗舰店
```
下面给出`&`符号隔开示例:
```
100&100&iPhone12&Apple京东自营旗舰店
```
#### 关于脚本推送通知频率
> 如果你填写了推送通知方式中的某一种通知所需环境变量,那么脚本通知情况如下:
> 目前默认只有jd_fruit.js,jd_pet.js,jd_bean_sign.js,jd_818.js四个脚本每次运行后都通知
```
jd_plantBean.js是每周一收集京豆后通知一次
jd_joy_reward.js是每次兑换到了京豆通知一次
jd_blueCoin.js是每次兑换到了奖品通知一次
jd_818.js是每次获取新的互助码会通知一次以帮助您快速上车
其余的脚本平常运行都是不通知只有在京东cookie失效后才会推送通知
```

BIN
icon/DD_bot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
icon/TG_PUSH1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
icon/TG_PUSH2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

BIN
icon/TG_PUSH3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
icon/action1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

BIN
icon/action2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
icon/action3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

BIN
icon/bark.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 424 KiB

BIN
icon/bean_sign_simple.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
icon/disable-action.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

BIN
icon/fork.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

BIN
icon/git1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

BIN
icon/git10.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

BIN
icon/git11.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
icon/git12.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
icon/git13.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
icon/git14.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
icon/git2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
icon/git3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
icon/git4.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
icon/git5.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
icon/git6.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
icon/git7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

BIN
icon/git8.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
icon/git9.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
icon/iCloud1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
icon/iCloud2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
icon/iCloud3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Some files were not shown because too many files have changed in this diff Show More