Skip to content

Commit

Permalink
自动将活动入口列在Readme脚本清单中,识别每个脚本中“活动入口:”这一行全角冒号后面的内容作为入口内容。
Browse files Browse the repository at this point in the history
  • Loading branch information
devome committed Jan 27, 2021
1 parent d39c9e6 commit 66566e5
Show file tree
Hide file tree
Showing 37 changed files with 102 additions and 82 deletions.
111 changes: 56 additions & 55 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jd_bean_home.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
领京豆额外奖励&抢京豆
脚本自带助力码,介意者可将 29行 helpAuthor 变量设置为 false
入口:首页-领京豆
活动入口:首页-领京豆
更新地址:https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_bean_home.js
已支持IOS双京东账号, Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, 小火箭,JSBox, Node.js
Expand Down
1 change: 1 addition & 0 deletions jd_bean_sign.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
/*
京豆签到,自用,可N个京东账号
活动入口:各处的签到汇总
Node.JS专用
IOS软件用户请使用 https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js
更新时间:2021-1-19
Expand Down
1 change: 1 addition & 0 deletions jd_blueCoin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
东东超市兑换奖品 脚本地址:https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_blueCoin.js
感谢@yangtingxiao提供PR
更新时间:2020-12-24
活动入口:京东APP我的-更多工具-东东超市
支持京东多个账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
============QuantumultX==============
Expand Down
3 changes: 1 addition & 2 deletions jd_car_exchange.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
京东汽车兑换,500赛点兑换500京豆
长期活动
活动入口
京东APP:首页👉京东汽车兑换👉屏幕右中部,车主福利
活动入口:首页👉京东汽车兑换👉屏幕右中部,车主福利
活动网页地址:https://h5.m.jd.com/babelDiy/Zeus/44bjzCpzH9GpspWeBzYSqBA7jEtP/index.html#/journey
更新地址:https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_car_exchange
Expand Down
2 changes: 1 addition & 1 deletion jd_club_lottery.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @Last Modified time: 2020-11-23 12:27:09
*/
/*
摇京豆(京东APP首页-领京豆-摇京豆)
活动入口:京东APP首页-领京豆-摇京豆
更新时间:2020-10-12
Modified from https://github.com/Zero-S1/JD_tools/blob/master/JD_vvipclub.py
已支持IOS双京东账号,Node.js支持N个京东账号
Expand Down
2 changes: 1 addition & 1 deletion jd_crazy_joy.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ crazyJoy任务
每天运行一次即可
活动入口:京东APP我的-更多工具-疯狂的JOY
已支持IOS双京东账号,Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
============Quantumultx===============
Expand Down
1 change: 1 addition & 0 deletions jd_crazy_joy_coin.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
crazy joy
挂机领金币/宝箱专用
活动入口:京东APP我的-更多工具-疯狂的JOY
⚠️建议云端使用。手机端不建议使用(会一直跑下去,永不停止)
10 7 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_crazy_joy_coin.js
Expand Down
2 changes: 1 addition & 1 deletion jd_daily_egg.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
/*
TODO
京东金融-天天提鹅
活动入口:京东金融-天天提鹅
定时收鹅蛋,兑换金币
已支持IOS双京东账号,Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
Expand Down
2 changes: 1 addition & 1 deletion jd_dreamFactory.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
京东京喜工厂
更新时间:2021-1-19
活动入口 :京东APP->游戏与互动->查看更多->京喜工厂
活动入口京东APP-游戏与互动-查看更多-京喜工厂
或者: 京东APP首页搜索 "玩一玩" ,造物工厂即可
Expand Down
1 change: 1 addition & 0 deletions jd_fruit.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
东东水果:脚本更新地址 https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_fruit.js
更新时间:2021-1-9
活动入口:京东APP我的-更多工具-东东农场
东东农场活动链接:https://h5.m.jd.com/babelDiy/Zeus/3KSjXqQabiTuD1cJ28QskrpWoBKT/index.html
已支持IOS双京东账号,Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
Expand Down
1 change: 1 addition & 0 deletions jd_jdfactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/
/*
东东工厂,不是京喜工厂
活动入口:京东APP首页-数码电器-东东工厂
免费产生的电量(10秒1个电量,500个电量满,5000秒到上限不生产,算起来是84分钟达到上限)
故建议1小时运行一次
开会员任务和去京东首页点击“数码电器任务目前未做
Expand Down
1 change: 1 addition & 0 deletions jd_joy.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ jd宠汪汪 搬的https://github.com/uniqueque/QuantumultX/blob/4c1572d93d4d4f88
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
IOS用户支持京东双账号,NodeJs用户支持N个京东账号
更新时间:2021-1-26
活动入口:京东APP我的-更多工具-宠汪汪
建议先凌晨0点运行jd_joy.js脚本获取狗粮后,再运行此脚本(jd_joy_steal.js)可偷好友积分,6点运行可偷好友狗粮
feedCount:自定义 每次喂养数量; 等级只和喂养次数有关,与数量无关
推荐每次投喂10个,积累狗粮,然后去玩聚宝盆赌
Expand Down
1 change: 1 addition & 0 deletions jd_joy_feedPets.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
宠汪汪喂食(如果喂食80g失败,降级一个档次喂食(40g),依次类推),三餐,建议一小时运行一次
更新时间:2020-11-03
活动入口:京东APP我的-更多工具-宠汪汪
支持京东多个账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
==============Quantumult X==============
Expand Down
1 change: 1 addition & 0 deletions jd_joy_help.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions jd_joy_reward.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
宠汪汪积分兑换奖品脚本, 目前脚本只兑换京豆,兑换京豆成功,才会发出通知提示,其他情况不通知。
更新时间:2021-1-20
活动入口:京东APP我的-更多工具-宠汪汪
兑换规则:一个账号一天只能兑换一次京豆。
兑换奖品成功后才会有系统弹窗通知
每日京豆库存会在0:00、8:00、16:00更新,经测试发现中午12:00也会有补发京豆。
Expand Down
2 changes: 1 addition & 1 deletion jd_joy_run.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
宠汪汪邀请助力与赛跑助力脚本,感谢github@Zero-S1提供帮助
更新时间:2021-1-7(宠汪汪助力更新Token的配置正则表达式已改)
活动入口:京东APP我的-更多工具-宠汪汪
token时效很短,几个小时就失效了,闲麻烦的放弃就行
每天拿到token后,可一次性运行完毕即可。
互助码friendPin是京东用户名,不是昵称(可在京东APP->我的->设置 查看获得)
Expand Down
1 change: 1 addition & 0 deletions jd_joy_steal.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* @Last Modified time: 2021-1-21 21:22:37
*/
/*
活动入口:京东APP我的-更多工具-宠汪汪
最近经常出现给偷好友积分与狗粮失败的情况,故建议cron设置为多次
jd宠汪汪偷好友积分与狗粮,及给好友喂食
偷好友积分上限是20个好友(即获得100积分),帮好友喂食上限是20个好友(即获得200积分),偷好友狗粮上限也是20个好友(最多获得120g狗粮)
Expand Down
1 change: 1 addition & 0 deletions jd_jxnc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
京喜农场:脚本更新地址 https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_jxnc.js
更新时间:2021-01-10 22:47:51
活动入口:京喜APP我的-京喜农场
东东农场活动链接:https://wqsh.jd.com/sns/201912/12/jxnc/detail.html?ptag=7155.9.32&smp=b47f4790d7b2a024e75279f55f6249b9&active=jdnc_1_chelizi1205_2
已支持IOS双京东账号,Node.js支持N个京东账号
理论上脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
Expand Down
2 changes: 1 addition & 1 deletion jd_lotteryMachine.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions jd_moneyTree.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
京东摇钱树 :https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_moneyTree.js
更新时间:2020-11-16
活动入口:京东APP我的-更多工具-摇钱树
京东摇钱树支持京东双账号
注:如果使用Node.js, 需自行安装'crypto-js,got,http-server,tough-cookie'模块. 例: npm install crypto-js http-server tough-cookie got --save
===============Quantumultx===============
Expand Down
4 changes: 2 additions & 2 deletions jd_necklace.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/
/*
点点券,可以兑换无门槛红包(1元,5元,10元,100元,部分红包需抢购)
APP活动入口:“最新版本京东APP >领券中心/券后9.9>领点点券”页面
网页入口:https://h5.m.jd.com/babelDiy/Zeus/41Lkp7DumXYCFmPYtU3LTcnTTXTX/index.html
活动入口:京东APP-领券中心/券后9.9-领点点券
地址:https://h5.m.jd.com/babelDiy/Zeus/41Lkp7DumXYCFmPYtU3LTcnTTXTX/index.html
已支持IOS双京东账号,Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
===============Quantumultx===============
Expand Down
4 changes: 2 additions & 2 deletions jd_nian.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
京东炸年兽🧨
活动时间:2021-1-18至2021-2-11
暂不加入品牌会员
活动入口:https://wbbny.m.jd.com/babelDiy/Zeus/2cKMj86srRdhgWcKonfExzK4ZMBy/index.html
活动地址:京东app左侧浮动窗口
地址 https://wbbny.m.jd.com/babelDiy/Zeus/2cKMj86srRdhgWcKonfExzK4ZMBy/index.html
活动入口:京东app首页浮动窗口
已支持IOS双京东账号,Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
============Quantumultx===============
Expand Down
2 changes: 2 additions & 0 deletions jd_nianCollect.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/*
#炸年兽专门收集爆竹
京东炸年兽领爆竹🧨
活动入口:京东app首页浮动窗口
地址:https://wbbny.m.jd.com/babelDiy/Zeus/2cKMj86srRdhgWcKonfExzK4ZMBy/index.html
仅仅是收集一下京东炸年兽领爆竹活动每秒产生的爆竹🧨
每小时的第20分运行一次
============Quantumultx===============
Expand Down
4 changes: 2 additions & 2 deletions jd_nian_ar.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
京东炸年兽AR
活动时间:2021-1-18至2021-2-11
活动入口:https://wbbny.m.jd.com/babelDiy/Zeus/2cKMj86srRdhgWcKonfExzK4ZMBy/index.html
活动地址:京东app左侧浮动窗口
地址:https://wbbny.m.jd.com/babelDiy/Zeus/2cKMj86srRdhgWcKonfExzK4ZMBy/index.html
活动入口:京东app首页浮动窗口
已支持IOS双京东账号,Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
============Quantumultx===============
Expand Down
4 changes: 2 additions & 2 deletions jd_nian_sign.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
京东炸年兽签到任务🧨
活动时间:2021-1-18至2021-2-11
暂不加入品牌会员
活动入口:https://wbbny.m.jd.com/babelDiy/Zeus/2cKMj86srRdhgWcKonfExzK4ZMBy/index.html
活动地址:京东app左侧浮动窗口
地址:https://wbbny.m.jd.com/babelDiy/Zeus/2cKMj86srRdhgWcKonfExzK4ZMBy/index.html
活动入口:京东app左侧浮动窗口
已支持IOS双京东账号,Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
============Quantumultx===============
Expand Down
1 change: 1 addition & 0 deletions jd_pet.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
东东萌宠 更新地址: https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_pet.js
更新时间:2021-01-19
活动入口:京东APP我的-更多工具-东东萌宠
已支持IOS双京东账号,Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
Expand Down
1 change: 1 addition & 0 deletions jd_petTreasureBox.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
更新时间:2020-11-12
活动入口:京东APP我的-更多工具-宠汪汪
从github@Zero-S1搬的[https://github.com/Zero-S1/JD_tools/blob/master/jbp.js]
【宠汪汪聚宝盆辅助脚本】
1、进入聚宝盆,显示本轮狗粮池投入总数,方便估算
Expand Down
2 changes: 1 addition & 1 deletion jd_pigPet.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @Last Modified time: 2020-11-23 12:27:16
*/
/*
京东金融养猪猪
活动入口:京东金融养猪猪
一键开完所有的宝箱功能。耗时70秒
大转盘抽奖
喂食
Expand Down
1 change: 1 addition & 0 deletions jd_plantBean.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
种豆得豆 脚本更新地址:https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_plantBean.js
更新时间:2021-1-16
活动入口:京东APP我的-更多工具-种豆得豆
已支持IOS京东双账号,云端N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
注:会自动关注任务中的店铺跟商品,介意者勿使用。
Expand Down
2 changes: 1 addition & 1 deletion jd_rankingList.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion jd_redPacket.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
* @Last Modified time: 2020-12-20 12:27:18
*/
/*
京东全民开红包(京东app->首页->领券->锦鲤红包)
京东全民开红包
活动入口:京东APP-首页-领券-锦鲤红包
已完成功能:
①浏览活动
②关注频道
Expand Down
2 changes: 1 addition & 1 deletion jd_sgmh.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
闪购盲盒
长期活动,一人每天5次助力机会,10次被助机会,被助力一次获得一次抽奖机会,前几次必中京豆
修改自 @yangtingxiao 抽奖机脚本
入口:首页-闪购-闪购盲盒
活动入口:首页-闪购-闪购盲盒
网页地址:https://h5.m.jd.com/babelDiy/Zeus/3vzA7uGuWL2QeJ5UeecbbAVKXftQ/index.html
更新地址:https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_sgmh.js
已支持IOS双京东账号, Node.js支持N个京东账号
Expand Down
3 changes: 2 additions & 1 deletion jd_shop.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
进店领豆(京东APP首页-领京豆-进店领豆),每天可拿四京豆
进店领豆,每天可拿四京豆
活动入口:京东APP首页-领京豆-进店领豆
更新时间:2020-11-03
已支持IOS双京东账号,Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
Expand Down
5 changes: 2 additions & 3 deletions jd_small_home.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@

注:目前使用此脚本会给脚本内置的两个码进行助力,请知晓

APP活动入口:
京东APP首页 ->搜索 玩一玩 -> DIY理想家
或 京东APP -> 我的-> 游戏与更多 - > 东东小窝
活动入口:京东APP我的-游戏与更多-东东小窝
或 京东APP首页-搜索 玩一玩-DIY理想家
微信小程序入口:
来客有礼 - > 首页 -> 东东小窝
网页入口(注:进入后不能再此刷新,否则会有问题,需重新输入此链接进入)
Expand Down
1 change: 1 addition & 0 deletions jd_speed.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
京东天天加速链接:https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_speed.js
更新时间:2020-12-25
活动入口:京东APP我的-更多工具-天天加速
支持京东双账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
每天4京豆,再小的苍蝇也是肉
Expand Down
5 changes: 3 additions & 2 deletions update_list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ JsList=($(cd $WorkDir; ls *.js | grep -E "j[drx]_"))
FileReadme=$WorkDir/README.md
UrlBlob=https://github.com/LXK9301/jd_scripts/blob/master/
UrlRaw=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/
SheetHead="| 序号 | 名称 | blob文件链接 | raw文件链接 |\n| ---- | ------- | ------------ | ----------- |"
SheetHead="| 序号 | 名称 | 活动入口 | blob文件链接 | raw文件链接 |\n| ---- | ---- | ---- | ---- | ---- |"

## 删除标记行的内容
StartLine=$(($(grep -n "标记开始" "$FileReadme" | awk -F ":" '{print $1}') + 1))
Expand All @@ -23,8 +23,9 @@ cd $WorkDir
Sheet=$SheetHead
for ((i=0; i<${#JsList[*]}; i++)); do
Name=$(grep "new Env" ${JsList[i]} | awk -F "'|\"" '{print $2}')
Entry=$(grep -E "活动入口|活动地址" ${JsList[i]} | awk -F ":" '{print $2}')
Blob="$UrlBlob${JsList[i]}"
Raw="$UrlRaw${JsList[i]}"
Sheet="$Sheet\n| $(($i + 1)) | $Name | [${JsList[i]}]($Blob) | [${JsList[i]}]($Raw) |"
Sheet="$Sheet\n| $(($i + 1)) | $Name | $Entry | [${JsList[i]}]($Blob) | [${JsList[i]}]($Raw) |"
done
echo -e "$Sheet\n$Tail" >> $FileReadme

0 comments on commit 66566e5

Please sign in to comment.