Skip to content

Commit b6ac7ef

Browse files
committed
更新[字幕组]签到脚本: 适配人人影视新域名
1 parent 026cb60 commit b6ac7ef

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

zimuzu/README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,30 @@
44
55
> 2020.1.11 QuanX 在`190`版本开始, 获取 Cookie 方式需要从`script-response-body`改为`script-request-header`
66
7+
> 2020.1.28 适配人人影视新域名`http://www.rrys2019.com`
8+
79
## 配置 (Surge)
810

911
```properties
1012
[MITM]
11-
*.zmz2019.com
13+
*.rrys2019.com
1214

1315
[Script]
14-
http-request ^https?:\/\/(www\.)?zmz2019\.com\/?.? script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/zimuzu/zimuzu.cookie.js
16+
http-request ^https?:\/\/(www\.)?rrys2019\.com\/?.? script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/zimuzu/zimuzu.cookie.js
1517
cron "10 0 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/zimuzu/zimuzu.js
1618
```
1719

1820
## 配置 (QuanX)
1921

2022
```properties
2123
[MITM]
22-
*.zmz2019.com
24+
*.rrys2019.com
2325

2426
[rewrite_local]
2527
# 189及以前版本
26-
^https?:\/\/(www\.)?zmz2019\.com\/?.? url script-response-body zimuzu.cookie.js
28+
^https?:\/\/(www\.)?rrys2019\.com\/?.? url script-response-body zimuzu.cookie.js
2729
# 190及以后版本
28-
^https?:\/\/(www\.)?zmz2019\.com\/?.? url script-request-header zimuzu.cookie.js
30+
^https?:\/\/(www\.)?rrys2019\.com\/?.? url script-request-header zimuzu.cookie.js
2931

3032
[task_local]
3133
1 0 * * * zimuzu.js
@@ -34,11 +36,11 @@ cron "10 0 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scr
3436
## 说明
3537

3638
1. 先在浏览器登录 `(先登录! 先登录! 先登录!)`
37-
2. 先把`*.zmz2019.com`加到`[MITM]`
39+
2. 先把`*.rrys2019.com`加到`[MITM]`
3840
3. 再配置重写规则:
3941
- Surge: 把两条远程脚本放到`[Script]`
4042
- QuanX: 把`zimuzu.cookie.js``zimuzu.js`传到`On My iPhone - Quantumult X - Scripts` (传到 iCloud 相同目录也可, 注意要打开 quanx 的 iCloud 开关)
41-
4. 打开浏览器访问: http://www.zmz2019.com
43+
4. 打开浏览器访问: http://www.rrys2019.com
4244
5. 系统提示: `获取Cookie: 成功`
4345
6. 最后就可以把第 1 条脚本注释掉了
4446

zimuzu/zimuzu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sign()
77

88
function sign() {
99
const timestamp = Date.parse(new Date())
10-
let url = { url: `http://www.zmz2019.com/user/login/getCurUserTopInfo`, headers: { Cookie: cookieVal } }
10+
let url = { url: `http://www.rrys2019.com/user/login/getCurUserTopInfo`, headers: { Cookie: cookieVal } }
1111
url.headers['User-Agent'] = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.4 Safari/605.1.15'
1212

1313
chavy.get(url, (error, response, data) => {

0 commit comments

Comments
 (0)