Skip to content

Commit 6196d04

Browse files
committed
更新[喜马拉雅]说明: 部分场景不能获取 Cookie 请更换匹配正则
1 parent fc7c24d commit 6196d04

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎ximalaya/README.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22

33
> 代码已同时兼容 Surge & QuanX, 使用同一份签到脚本即可
44
5+
> 2020.1.9 部分场景不能获取 Cookie 请更换匹配正则
6+
57
## 配置 (Surge)
68

79
```properties
810
[MITM]
911
mobwsa.ximalaya.com
1012

1113
[Script]
12-
http-request ^https?:\/\/mobwsa\.ximalaya\.com\/mobile\-user\/homePage\/.* script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/ximalaya/ximalaya.cookie.js
14+
http-request ^https?:\/\/.*\/mobile\-user\/homePage\/.* script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/ximalaya/ximalaya.cookie.js
1315
cron "10 0 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/ximalaya/ximalaya.js
1416
```
1517

@@ -20,7 +22,7 @@ cron "10 0 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scr
2022
mobwsa.ximalaya.com
2123

2224
[rewrite_local]
23-
^https?:\/\/mobwsa\.ximalaya\.com\/mobile\-user\/homePage\/.* url script-response-body ximalaya.cookie.js
25+
^https?:\/\/.*\/mobile\-user\/homePage\/.* url script-response-body ximalaya.cookie.js
2426

2527
[task_local]
2628
1 0 * * * ximalaya.js

0 commit comments

Comments
 (0)