From 52e6ec1066f60b87edb1dfa83f0e8886bf943373 Mon Sep 17 00:00:00 2001 From: Leon Date: Sat, 14 Aug 2021 21:46:16 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A5=A7many?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Conf/Qinglong/config.sample.sh | 2 +- Conf/Readme.md | 57 +++++++++++++++++++++------------- README.md | 2 +- Scripts/js/mimotion.js | 3 +- Scripts/py/requirements.txt | 9 ++++++ Tasks/Daily.json | 24 ++++++++++++-- Tasks/qlrepo/Readme.md | 2 +- Tasks/qlrepo/extra.sh | 2 +- 8 files changed, 73 insertions(+), 28 deletions(-) create mode 100644 Scripts/py/requirements.txt diff --git a/Conf/Qinglong/config.sample.sh b/Conf/Qinglong/config.sample.sh index 533cb5d..406fdcd 100644 --- a/Conf/Qinglong/config.sample.sh +++ b/Conf/Qinglong/config.sample.sh @@ -555,4 +555,4 @@ export JD_OPENCARD_COOL_SUMMER="999" export JD_OPENCARD_EAT_OPEN_OPENCARD="" ## 8、8.5-8.12 大牌联合 冰爽一夏 钜惠送好礼 ### 填写11就是跑到11个ck就停止,填写21就是跑到21个ck就停止,一天最多助力20个ck,推荐10的倍数 +1 填写!! -export JD_OPENCARD_COOL_SUMMER2="" +export JD_OPENCARD_COOL_SUMMER2="" \ No newline at end of file diff --git a/Conf/Readme.md b/Conf/Readme.md index 1e1ce69..46f4cad 100644 --- a/Conf/Readme.md +++ b/Conf/Readme.md @@ -522,28 +522,43 @@ export DDQ_NOTIFY_CONTROL="" ##不填或false为通知,true为不通知 ``` ``` -## 9、奥运夺金牌开卡 +## 9、组队瓜分京豆活动变量 +export jd_zdjr_activityId="" +export jd_zdjr_activityUrl="" +``` + +``` +## 10、奥运夺金牌开卡 export guaolympicopencard="true" -## 10、奥运夺金挑战赛 +## 11、7.31-8.10 全民奥运 激情奔跑 export guaolympicopencard2="true" -## 11、大牌联合 冰爽一夏 -export guaopencard4="true" -export guaopencard_addSku4="true" -## 12、冰爽夏日 钜惠送好礼 -export guaopencard5="true" -export guaopencard_addSku5="true" -## 13、七夕告白季-开卡 -export guaopencard6="true" -export guaopencard_addSku6="true" -## 14-n、预备 -export guaopencard7="true" -export guaopencard_addSku7="true" -export guaopencard8="true" -export guaopencard_addSku8="true" -export guaopencard9="true" -export guaopencard_addSku9="true" -export guaopencard10="true" -export guaopencard_addSku10="true" +## 12、8.4-8.12 大牌联合 冰爽一夏 +export guaopencard4="true" ##开卡 +export guaopencard_addSku4="true" ##加购物车 +## 13、8.5-8.12 冰爽夏日 钜惠送好礼 +export guaopencard5="true" ##开卡 +export guaopencard_addSku5="true" ##加购物车 +## 14、七夕告白季 +export guaopencard6="true" ##开卡 +export guaopencard_addSku6="true" ##加购物车 +## 15、8.8-8.14 七夕会员福利社 +export guaopencard7="true" ##开卡 +export guaopencard_addSku7="true" ##加购物车 +## 16、8.10-8.15 头号玩家 一起热8 +export guaopencard8="true" ##开卡 +export guaopencard_addSku8="true" ##加购物车 +## 17、8.11-8.15 星动七夕 纵享丝滑 +export guaopencard9="true" ##开卡 +export guaopencard_addSku9="true" ##加购物车 +## 18、8.11-8.18 大牌联合 约惠一夏 +export guaopencard10="true" ##开卡 +export guaopencard_addSku10="true" ##加购物车 +## 19-38、预备 +j=30 +for (( i = 11; i <= j; i++ )); do + export guaopencard$i="true" + export guaopencard_addSku$i="true" +done ``` @@ -889,4 +904,4 @@ AutoStartBot="" ``` ## 10、安装bot依赖时指定pip源,默认使用清华源,如不需要源,设置此参数为空 PipMirror="https://pypi.tuna.tsinghua.edu.cn/simple" -``` +``` \ No newline at end of file diff --git a/README.md b/README.md index 199cc88..a22ba1d 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ ## [★](./Tasks) Tasks ### [][QL] ← More ``` -ql repo https://github.com/shufflewzc/faker2.git "jd_|jx_|gua_|jddj_|getJDCookie" "activity|backUp|update" "^jd[^_]|USER|^ZooFaker|^JDJRValidator|^sign" +ql repo https://github.com/shufflewzc/faker2.git "jd_|jx_|gua_|jddj_|getJDCookie" "activity|backUp|update" "^jd[^_]|USER|utils|^ZooFaker|^JDJRValidator|^sign" ``` - [extra.sh](./Tasks/qlrepo/extra.sh) diff --git a/Scripts/js/mimotion.js b/Scripts/js/mimotion.js index 9f93fbe..6419085 100644 --- a/Scripts/js/mimotion.js +++ b/Scripts/js/mimotion.js @@ -14,10 +14,11 @@ $exec('python3 https://raw.githubusercontent.com/Oreomeow/VIP/main/Scripts/py/mi env: { MI_USER: $store.get('MI_USER', 'string'), MI_PWD: $store.get('MI_PWD', 'string'), + STEP: $store.get('STEP','string'), PMODE: $store.get('PMODE', 'string'), PKEY: $store.get('PKEY', 'string') }, cb(data, error) { error ? console.error(error) : console.log(data) } -}) +}) \ No newline at end of file diff --git a/Scripts/py/requirements.txt b/Scripts/py/requirements.txt new file mode 100644 index 0000000..8ad0e2b --- /dev/null +++ b/Scripts/py/requirements.txt @@ -0,0 +1,9 @@ +beautifulsoup4 +pytz +certifi==2020.12.5 +chardet==4.0.0 +idna==2.10 +Jinja2==3.0.0 +MarkupSafe==2.0.0 +requests==2.25.1 +urllib3==1.26.4 \ No newline at end of file diff --git a/Tasks/Daily.json b/Tasks/Daily.json index 822f0e8..aa42907 100644 --- a/Tasks/Daily.json +++ b/Tasks/Daily.json @@ -2,7 +2,7 @@ "name":"羊毛", "author":"Leon", "desc":"该订阅适用于 elecV2P,与其他软件并不兼容。相关说明参考:https://github.com/elecV2/elecV2P-dei/tree/master/docs/06-task.md", - "date":"2021-08-11 20:22:00", + "date":"2021-08-14 21:45:00", "list":[ { "name":"安装依赖", @@ -10,7 +10,7 @@ "time":"0", "job":{ "type":"exec", - "target":"pip3 install -r requirements.txt" + "target":"wget -q https://raw.githubusercontent.com/Oreomeow/VIP/main/Scripts/py/requirements.txt -O requirements.txt && pip3 install -r requirements.txt" }, "running":false }, @@ -53,6 +53,26 @@ "target":"https://raw.githubusercontent.com/Oreomeow/VIP/main/Scripts/js/EUserv_extend.js" }, "running":true + }, + { + "name":"小米运动改步", + "type":"cron", + "time":"25 20 * * *", + "job":{ + "type":"runjs", + "target":"https://raw.githubusercontent.com/Oreomeow/VIP/main/Scripts/js/mimotion.js" + }, + "running":true + }, + { + "name":"Freenom 续期", + "type":"cron", + "time":"25 7 */10 * *", + "job":{ + "type":"runjs", + "target":"https://raw.githubusercontent.com/Oreomeow/VIP/main/Scripts/js/FNplus.js" + }, + "running":true } ] } \ No newline at end of file diff --git a/Tasks/qlrepo/Readme.md b/Tasks/qlrepo/Readme.md index 6e2ad35..2163680 100644 --- a/Tasks/qlrepo/Readme.md +++ b/Tasks/qlrepo/Readme.md @@ -23,7 +23,7 @@ ql raw ``` 3. `shufflewzc` ``` - ql repo https://github.com/shufflewzc/faker2.git "jd_|jx_|gua_|jddj_|getJDCookie" "activity|backUp" "^jd[^_]|USER|^JS|^TS|^JDJRValidator_Pure|^ZooFaker|^sign" + ql repo https://github.com/shufflewzc/faker2.git "jd_|jx_|gua_|jddj_|getJDCookie" "activity|backUp" "^jd[^_]|USER|utils|^JS|^TS|^JDJRValidator_Pure|^ZooFaker|^sign" ``` 4. `Aaron-lv` ``` diff --git a/Tasks/qlrepo/extra.sh b/Tasks/qlrepo/extra.sh index 915209b..8f48554 100644 --- a/Tasks/qlrepo/extra.sh +++ b/Tasks/qlrepo/extra.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -## Mod: Build20210806V1 +## Mod: Build20210814V1 ## 添加你需要重启自动执行的任意命令,比如 ql repo ## 安装node依赖使用 pnpm install -g xxx xxx(Build 20210728-002 及以上版本的 code.sh,可忽略) ## 安装python依赖使用 pip3 install xxx(Build 20210728-002 及以上版本的 code.sh,可忽略)