File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
1517cron " 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]
31331 0 * * * zimuzu.js
@@ -34,11 +36,11 @@ cron "10 0 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scr
3436## 说明
3537
36381 . 先在浏览器登录 ` (先登录! 先登录! 先登录!) `
37- 2 . 先把` *.zmz2019 .com ` 加到` [MITM] `
39+ 2 . 先把` *.rrys2019 .com ` 加到` [MITM] `
38403 . 再配置重写规则:
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
42445 . 系统提示: ` 获取Cookie: 成功 `
43456 . 最后就可以把第 1 条脚本注释掉了
4446
Original file line number Diff line number Diff line change 77
88function 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 ) => {
You can’t perform that action at this time.
0 commit comments