移除部分过时的代码
This commit is contained in:
72
script/archive/dingdong/README.md
Normal file
72
script/archive/dingdong/README.md
Normal file
@ -0,0 +1,72 @@
|
||||
# 🧸叮咚买菜
|
||||
|
||||
叮咚买菜每日自动签到
|
||||
|
||||
## 配置说明
|
||||
|
||||
### Surge
|
||||
|
||||
安装模块
|
||||
|
||||
```ini
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.sgmodule
|
||||
```
|
||||
|
||||
### Loon
|
||||
|
||||
安装插件
|
||||
|
||||
```ini
|
||||
[Remote Script]
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.lnplugin
|
||||
```
|
||||
|
||||
### Quantumult X
|
||||
|
||||
配置文件
|
||||
|
||||
```ini
|
||||
[rewrite_remote]
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.qxrewrite, tag=叮咚买菜_获取Cookie, enabled=true
|
||||
|
||||
[task_local]
|
||||
20 10 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js, tag=叮咚买菜_每日签到, enabled=true
|
||||
```
|
||||
|
||||
## 获取Cookie
|
||||
|
||||
叮咚买菜APP - 我的 - 右上角签到
|
||||
|
||||
## 多账户
|
||||
|
||||
目前无法在单台iPhone/iPad设备上实现多账户执行每日签到。
|
||||
|
||||
多账户更多的作用是在多设备的情况下,将Cookies和坐标同步至青龙面板,由青龙面板执行多账户作业。
|
||||
|
||||
## 脚本变量
|
||||
|
||||
根据下表配置magic.json文件的内容
|
||||
|
||||
| 名称 | 类型 | 说明 |
|
||||
| ----------------------------- | ---- | -------------------------------------- |
|
||||
| dingdongmaicai_checkin_cookie | Json | 多账户叮咚买菜Cookies |
|
||||
| dingdongmaicai_checkin_body | Json | 多账户叮咚买菜Body |
|
||||
| dingdongmaicai_sync_qinglong | Bool | 是否将获取的Cookie和Body同步至青龙面板 |
|
||||
|
||||
部分属性示例
|
||||
|
||||
```json
|
||||
{
|
||||
"dingdongmaicai_checkin_cookie": {
|
||||
"magic_session": true,
|
||||
"user_id1": "cookie_1",
|
||||
"user_id2": "cookie_2"
|
||||
},
|
||||
"dingdongmaicai_checkin_body":{
|
||||
"magic_session": true,
|
||||
"user_id1": "body_1",
|
||||
"user_id2": "body_2"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
BIN
script/archive/dingdong/dingdong.png
Normal file
BIN
script/archive/dingdong/dingdong.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
154
script/archive/dingdong/dingdong_checkin.js
Normal file
154
script/archive/dingdong/dingdong_checkin.js
Normal file
File diff suppressed because one or more lines are too long
13
script/archive/dingdong/dingdong_checkin.lnplugin
Normal file
13
script/archive/dingdong/dingdong_checkin.lnplugin
Normal file
@ -0,0 +1,13 @@
|
||||
#!name= 叮咚买菜
|
||||
#!desc= 叮咚买菜每日自动签到
|
||||
#!openUrl=https://github.com/blackmatrix7/ios_rule_script/tree/master/script/dingdong
|
||||
#!author= blackmatrix7
|
||||
#!homepage= https://github.com/blackmatrix7/ios_rule_script
|
||||
#!icon= https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong.png
|
||||
|
||||
[Script]
|
||||
http-request ^https?:\/\/maicai\.api\.ddxq\.mobi\/point\/home\?api_version requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js,tag=叮咚买菜_获取cookie
|
||||
cron "20 9 * * *" script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js,timeout=30,tag=叮咚买菜_每日签到
|
||||
|
||||
[MITM]
|
||||
hostname = maicai.api.ddxq.mobi
|
||||
5
script/archive/dingdong/dingdong_checkin.qxrewrite
Normal file
5
script/archive/dingdong/dingdong_checkin.qxrewrite
Normal file
@ -0,0 +1,5 @@
|
||||
# 叮咚买菜每日自动签到
|
||||
|
||||
^https?:\/\/maicai\.api\.ddxq\.mobi\/point\/home\?api_version url script-request-header https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js
|
||||
|
||||
hostname = maicai.api.ddxq.mobi
|
||||
10
script/archive/dingdong/dingdong_checkin.sgmodule
Normal file
10
script/archive/dingdong/dingdong_checkin.sgmodule
Normal file
@ -0,0 +1,10 @@
|
||||
#!name=叮咚买菜
|
||||
#!desc=叮咚买菜每日自动签到
|
||||
#!system=ios
|
||||
|
||||
[Script]
|
||||
叮咚买菜_每日签到 = type=cron,cronexp=20 0 * * *,timeout=30,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js
|
||||
叮咚买菜_获取cookie = type=http-request,pattern=^https?:\/\/maicai\.api\.ddxq\.mobi\/point\/home\?api_version,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% maicai.api.ddxq.mobi
|
||||
Reference in New Issue
Block a user