mirror of
https://github.com/blackmatrix7/ios_rule_script.git
synced 2024-12-25 00:29:14 +08:00
[什么值得买] 恢复签到功能,需重新获取Cookie
This commit is contained in:
parent
e97aded83a
commit
b01cbf0831
@ -366,6 +366,7 @@
|
||||
"smzdm_signin",
|
||||
"smzdm_mission",
|
||||
"smzdm_lottery",
|
||||
"smzdm_blackroom",
|
||||
"smzdm_sync_qinglong"
|
||||
],
|
||||
"author": "@blackmatrix7",
|
||||
@ -408,6 +409,13 @@
|
||||
"val": false,
|
||||
"type": "boolean",
|
||||
"desc": ""
|
||||
},
|
||||
{
|
||||
"id": "smzdm_blackroom",
|
||||
"name": "脚本运行时进行黑号检测",
|
||||
"val": false,
|
||||
"type": "boolean",
|
||||
"desc": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -1,8 +1,8 @@
|
||||
# 🧸什么值得买
|
||||
# 什么值得买
|
||||
|
||||
## 签到与每日任务
|
||||
|
||||
什么值得买签到和任务脚本,每日完成Web端签到、抽奖一次,收藏文章7次。
|
||||
什么值得买签到和任务脚本,每日完成Android端签到、抽奖一次,收藏文章7次。
|
||||
|
||||
## 特别说明
|
||||
|
||||
@ -12,14 +12,16 @@
|
||||
|
||||
### 账号异常
|
||||
|
||||
可能会引起账号异常,无法参与幸运屋抽奖,其他功能暂未发现异常,不在意抽奖的可以继续使用,在意抽奖的请谨慎考虑。
|
||||
可能会导致账号被拉入小黑屋,无法参与幸运屋抽奖,其他功能暂未发现异常,不在意抽奖的可以继续使用,在意抽奖的请谨慎考虑。
|
||||
|
||||
可以BoxJS中,开启在执行脚本时进行小黑屋检测,如果账号已在小黑屋中会弹出通知。
|
||||
|
||||
## 最近更新
|
||||
|
||||
2022年9月8日
|
||||
2023年1月31日
|
||||
|
||||
1. 合并签到和任务脚本,可以在BoxJS中关闭
|
||||
2. 增加多账号签到和任务功能
|
||||
1. 去除Web端签到,改为Android签到,感谢匿名大佬提供的签名算法
|
||||
2. 签到时增加黑号检测
|
||||
|
||||
### 配置说明
|
||||
|
||||
@ -45,21 +47,23 @@ https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smz
|
||||
|
||||
```ini
|
||||
[rewrite_remote]
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.qxrewrite, tag=什么值得买_获取Cookie, update-interval=86400, opt-parser=false, enabled=true
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.snippet, tag=什么值得买_获取Cookie, update-interval=86400, opt-parser=false, enabled=true
|
||||
|
||||
[task_local]
|
||||
5 0 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js, tag=什么值得买每日签到
|
||||
5 10 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js, tag=什么值得买每日签到
|
||||
```
|
||||
|
||||
## 获取Cookies
|
||||
|
||||
**使用Safari,不要使用第三方浏览器!**
|
||||
打开什么值得买APP,点击“我的”,进入右上角的签到页面,等待脚本弹出获取Cookie成功的通知即可。
|
||||
|
||||
使用Safari访问 https://zhiyou.smzdm.com/ 进行一次登录,通常会显示获取Cookie成功。
|
||||
~~使用Safari,不要使用第三方浏览器!~~
|
||||
|
||||
可能因为重定向的问题,登录成功后访问的不是https://zhiyou.smzdm.com/user/ ,则重新在浏览器中访问一次https://zhiyou.smzdm.com/user/ 即可。
|
||||
~~使用Safari访问 https://zhiyou.smzdm.com/ 进行一次登录,通常会显示获取Cookie成功。~~
|
||||
|
||||
如果还是没有获取到Cookie,请查阅Surge等第三方App的执行日志。
|
||||
~~可能因为重定向的问题,登录成功后访问的不是https://zhiyou.smzdm.com/user/ ,则重新在浏览器中访问一次https://zhiyou.smzdm.com/user/ 即可。~~
|
||||
|
||||
~~如果还是没有获取到Cookie,请查阅Surge等第三方App的执行日志。~~
|
||||
|
||||
### 多账号获取Cookies
|
||||
|
||||
@ -67,14 +71,15 @@ https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smz
|
||||
|
||||
## 脚本变量
|
||||
|
||||
| 名称 | 类型 | 说明 |
|
||||
| ------------------- | ---- | --------------------------------- |
|
||||
| smzdm_cookie | Json | 存储什么值得买Cookies |
|
||||
| smzdm_cookie_id | Json | 辅助判断什么值得买Cookies是否变化 |
|
||||
| smzdm_signin | Bool | 是否打开什么值得买签到 |
|
||||
| smzdm_mission | Bool | 是否打开什么值得买每日任务 |
|
||||
| smzdm_lottery | Bool | 是否打开什么值得买每日抽奖 |
|
||||
| smzdm_sync_qinglong | Bool | 是否同步Cookies至青龙面板 |
|
||||
| 名称 | 类型 | 默认值 | 说明 |
|
||||
| ------------------- | ---- | ------ | --------------------------------- |
|
||||
| smzdm_cookie | Json | 无 | 存储什么值得买Cookies |
|
||||
| smzdm_cookie_id | Json | 无 | 辅助判断什么值得买Cookies是否变化 |
|
||||
| smzdm_signin | Bool | true | 是否打开什么值得买签到 |
|
||||
| smzdm_mission | Bool | false | 是否打开什么值得买每日任务 |
|
||||
| smzdm_lottery | Bool | false | 是否打开什么值得买每日抽奖 |
|
||||
| smzdm_sync_qinglong | Bool | false | 是否同步Cookies至青龙面板 |
|
||||
| smzdm_blackroom | Bool | true | 是否打开小黑屋检测 |
|
||||
|
||||
## 去广告
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,13 +1,13 @@
|
||||
#!name= 什么值得买
|
||||
#!desc= 什么值得买每日签到、抽奖与任务
|
||||
#!openUrl=https://github.com/blackmatrix7/ios_rule_script/tree/master/script/smzdm
|
||||
#!openUrl=https://github.com/blackmatrix7/ios_rule_script
|
||||
#!author= blackmatrix7
|
||||
#!homepage= https://github.com/blackmatrix7/ios_rule_script
|
||||
#!icon= https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm.png
|
||||
|
||||
[Script]
|
||||
http-request ^https?:\/\/zhiyou\.smzdm\.com\/user\/?$ script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js,tag=什么值得买_获取Cookie
|
||||
cron "30 9 * * *" script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js,timeout=60,tag=什么值得买_每日签到
|
||||
http-request ^https?:\/\/user-api\.smzdm\.com\/checkin$ script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js,tag=什么值得买_获取Cookie
|
||||
cron "5 10 * * *" script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js,timeout=60,tag=什么值得买_每日签到
|
||||
|
||||
[MITM]
|
||||
hostname = zhiyou.smzdm.com
|
||||
hostname = user-api.smzdm.com
|
@ -1,6 +0,0 @@
|
||||
# 什么值得买每日自动签到
|
||||
|
||||
^https?:\/\/zhiyou\.smzdm\.com\/user\/?$ url script-request-header https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js
|
||||
# ^https?:\/\/user-api\.smzdm\.com\/user_login\/normal$ url script-request-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js
|
||||
|
||||
hostname = zhiyou.smzdm.com
|
@ -3,8 +3,8 @@
|
||||
#!system=ios
|
||||
|
||||
[Script]
|
||||
什么值得买_每日签到 = script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js,timeout=120,type=cron,cronexp=5 0 * * *
|
||||
什么值得买_获取cookie = script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js,type=http-request,requires-body=false,pattern=^https?:\/\/zhiyou\.smzdm\.com\/user\/?$
|
||||
什么值得买_每日签到 = script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js,timeout=120,type=cron,cronexp=5 10 * * *
|
||||
什么值得买_获取cookie = script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js,type=http-request,requires-body=false,pattern=^https?:\/\/user-api\.smzdm\.com\/checkin$
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% zhiyou.smzdm.com
|
||||
hostname = %APPEND% user-api.smzdm.com
|
5
script/smzdm/smzdm_daily.snippet
Normal file
5
script/smzdm/smzdm_daily.snippet
Normal file
@ -0,0 +1,5 @@
|
||||
# 什么值得买每日自动签到
|
||||
|
||||
^https?:\/\/user-api\.smzdm\.com\/checkin$ url script-request-header https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js
|
||||
|
||||
hostname = user-api.smzdm.com
|
Loading…
Reference in New Issue
Block a user