Skip to content

Commit 4fbc5a5

Browse files
committed
添加Surge&QuanX配置范例
1 parent 7bbccae commit 4fbc5a5

2 files changed

Lines changed: 81 additions & 0 deletions

File tree

‎sample/quanx.conf‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
[mitm]
2+
hostname = *.acfun.cn, *.video.qq.com, *.zmz2019.com, *.xiami.com, *.feng.com, *.bilibili.com, music.163.com, tieba.baidu.com, *.v2ex.com, *.smzdm.com
3+
4+
[rewrite_local]
5+
# 网易云音乐
6+
^https:\/\/music\.163\.com\/m\/?.? url script-response-body chavy/neteasemusic/quanx/neteasemusic.cookie.js
7+
# 百度贴吧
8+
^https?:\/\/tieba\.baidu\.com\/?.? url script-response-body chavy/tieba/tieba.cookie.js
9+
# V2EX
10+
^https:\/\/www\.v2ex\.com\/mission\/daily url script-response-body chavy/v2ex/quanx/v2ex.cookie.js
11+
# 什么值得买
12+
^https:\/\/www\.smzdm\.com\/?.? url script-response-body chavy/smzdm/quanx/smzdm.cookie.js
13+
# bilibili
14+
^https:\/\/(www|live)\.bilibili\.com\/?.? url script-response-body chavy/bilibili/bilibili.cookie.js
15+
# 威锋网
16+
^https:\/\/(www\.)?feng\.com\/?.? url script-response-body chavy/feng/feng.cookie.js
17+
# 字幕组
18+
^https?:\/\/(www\.)?zmz2019\.com\/?.? url script-response-body chavy/zimuzu/zimuzu.cookie.js
19+
# 腾讯视频
20+
^https:\/\/vip\.video\.qq\.com\/?.? url script-response-body chavy/videoqq/videoqq.cookie.js
21+
# AcFun
22+
^https:\/\/api\-new\.app\.acfun\.cn\/rest\/app\/user\/personalInfo url script-response-body chavy/acfun/acfun.cookie.js
23+
24+
[task_local]
25+
# 百度贴吧
26+
1,5,10,15 0 * * * chavy/tieba/tieba.js
27+
# 网易云音乐
28+
2,6,10,15 0 * * * chavy/neteasemusic/quanx/neteasemusic.js
29+
# V2EX
30+
2,6,10,15 0 * * * chavy/v2ex/quanx/v2ex.js
31+
# 什么值得买
32+
2,6,10,15 0 * * * chavy/smzdm/quanx/smzdm.js
33+
# bilibili
34+
3,7,10,15 0 * * * chavy/bilibili/bilibili.js
35+
# 威锋网
36+
3,7,10,15 0 * * * chavy/feng/feng.js
37+
# 字幕组
38+
4,8,10,15 0 * * * chavy/zimuzu/zimuzu.js
39+
# 腾讯视频
40+
4,8,10,15 0 * * * chavy/videoqq/videoqq.js
41+
# AcFun
42+
4,8,10,15 0 * * * chavy/acfun/acfun.js

‎sample/surge.conf‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
[MITM]
2+
hostname = *.acfun.cn, vip.video.qq.com, *.zmz2019.com, *.feng.com, *.bilibili.com, *.smzdm.com, tieba.baidu.com, *.v2ex.com
3+
4+
[Script]
5+
# 百度贴吧
6+
http-request ^http:\/\/tieba\.baidu\.com script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/tieba/tieba.cookie.js
7+
cron "1 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/tieba/tieba.js
8+
9+
# 网易云音乐
10+
http-request ^https?:\/\/music\.163\.com\/?.? script-path=scripts/neteasemusic/neteasemusic.cookie.js
11+
cron "1 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/neteasemusic/neteasemusic.js
12+
13+
# V2EX
14+
http-request ^https:\/\/www\.v2ex\.com\/mission\/daily script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/v2ex/v2ex.cookie.js
15+
cron "1 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/v2ex/v2ex.js
16+
17+
# 什么值得买
18+
http-request ^https:\/\/www\.smzdm\.com\/?.? script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/smzdm/smzdm.cookie.js
19+
cron "1 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/smzdm/smzdm.js
20+
21+
# bilibili
22+
http-request ^https:\/\/(www|live)\.bilibili\.com\/?.? script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/bilibili/bilibili.cookie.js
23+
cron "1 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/bilibili/bilibili.js
24+
25+
# 威锋网
26+
http-request ^https:\/\/(www\.)?feng\.com\/?.? script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/feng/feng.cookie.js
27+
cron "1 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/feng/feng.js
28+
29+
# 字幕组
30+
http-request ^https?:\/\/(www\.)?zmz2019\.com\/?.? script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/zimuzu/zimuzu.cookie.js
31+
cron "1 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/zimuzu/zimuzu.js
32+
33+
# 腾讯视频
34+
http-request ^https:\/\/vip\.video\.qq\.com\/?.? script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/videoqq/videoqq.cookie.js
35+
cron "1 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/videoqq/videoqq.js
36+
37+
# AcFun
38+
http-request ^https:\/\/api\-new\.app\.acfun\.cn\/rest\/app\/user\/personalInfo script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/acfun/acfun.cookie.js
39+
cron "1 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/acfun/acfun.js

0 commit comments

Comments
 (0)