Skip to content

Commit b529d32

Browse files
committed
更新[腾讯视频]说明: 增加新的获取Cookie方式说明
1 parent 79e2bc3 commit b529d32

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎videoqq/README.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
**2020.1.7 从 APP 获取 Cookie,目测有效期能撑一段时间 (需要观察)**
66

7+
**2020.1.8 如果从 APP 获取 Cookie 还发现失败,请尝试新的正则 (详见下面 Surge & QuanX 配置内容)**
8+
79
> 代码已同时兼容 Surge & QuanX, 使用同一份签到脚本即可
810
911
> 需要 VIP 会员才能签到 (需要 VIP!需要 VIP!需要 VIP!)
@@ -15,7 +17,10 @@
1517
vip.video.qq.com
1618

1719
[Script]
20+
# App Cookie
1821
http-request ^https:\/\/vip\.video\.qq\.com\/?.? script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/videoqq/videoqq.cookie.js
22+
# 页面 Cookie (如果App Cookie还是容易失效, 尝试这个正则, 手机页面访问v.qq.com随便看一个vip视频触发)
23+
http-request ^https:\/\/access\.video\.qq.com\/user\/auth_refresh script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/videoqq/videoqq.cookie.js
1924
cron "10 0 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/videoqq/videoqq.js
2025
```
2126

@@ -26,7 +31,10 @@ cron "10 0 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scr
2631
vip.video.qq.com
2732

2833
[rewrite_local]
34+
# App Cookie
2935
^https:\/\/vip\.video\.qq\.com\/?.? url script-response-body videoqq.cookie.js
36+
# 页面 Cookie (如果App Cookie还是容易失效, 尝试这个正则, 手机页面访问v.qq.com随便看一个vip视频触发)
37+
^https:\/\/access\.video\.qq.com\/user\/auth_refresh url script-response-body videoqq.cookie.js
3038

3139
[task_local]
3240
1 0 * * * videoqq.js

0 commit comments

Comments
 (0)