Skip to content

Commit ea62b2e

Browse files
add huangdouduanju VIP解锁+去广告+完整播放
Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent 22d1724 commit ea62b2e

7 files changed

Lines changed: 130 additions & 0 deletions

File tree

‎huangdouduanju/README.md‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# huangdouduanju重写脚本
2+
3+
VIP 解锁 + 去广告 + 完整播放。Surge / Loon / Stash / Quantumult X 通用。
4+
5+
## 订阅地址
6+
7+
**Surge / Egern**
8+
9+
https://raw.githubusercontent.com/Yu9191/Rewrite/refs/heads/main/huangdouduanju/modules/huangdou.sgmodule
10+
11+
**Loon**
12+
13+
https://raw.githubusercontent.com/Yu9191/Rewrite/refs/heads/main/huangdouduanju/modules/huangdou.lpx
14+
15+
**Quantumult X**
16+
17+
https://raw.githubusercontent.com/Yu9191/Rewrite/refs/heads/main/huangdouduanju/huangdou.snippet
18+
19+
**Clash / Stash**
20+
21+
https://raw.githubusercontent.com/Yu9191/Rewrite/refs/heads/main/huangdouduanju/modules/huangdou.conf
22+
23+
## 功能
24+
25+
- VIP 视频解锁
26+
- 去启动页广告 / 弹窗 / 信息流广告
27+
- 列表、详情、播放接口统一免费
28+
29+
## 本地构建
30+
31+
```bash
32+
npm install
33+
npm run build
34+
```
35+
36+
产物 `dist/huangdou.js`。

‎huangdouduanju/dist/huangdou.js‎

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎huangdouduanju/huangdou.snippet‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!name=huangdouduanjuVIP解锁
2+
#!desc=VIP解锁 + 去广告 + 完整播放(浏览器直接观看)
3+
#!author=Yu9191 Rewrite
4+
#!homepage=https://github.com/Yu9191/Rewrite
5+
#!date=2026-09-01
6+
7+
[rewrite_local]
8+
^https?:\/\/cocoaview\.cc\/api\/(system\/info|user\/(info|home|vip|favorite)|drama\/(play|detail|navBlock|navFilter|searchResult|more|rank|topicDetail|topicList|favorite|love)|movie\/(navBlock|navFilter|detail|favorite|love|history)) url script-response-body https://raw.githubusercontent.com/Yu9191/Rewrite/refs/heads/main/huangdouduanju/dist/huangdou.js
9+
10+
[mitm]
11+
hostname = cocoaview.cc, *.cocoaview.cc
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!name=huangdouduanjuVIP解锁
2+
#!desc=VIP解锁 + 去广告 + 完整播放(浏览器直接观看)
3+
#!author=Yu9191 Rewrite
4+
#!homepage=https://github.com/Yu9191/Rewrite
5+
6+
[rewrite_local]
7+
^https?:\/\/cocoaview\.cc\/api\/(system\/info|user\/(info|home|vip|favorite)|drama\/(play|detail|navBlock|navFilter|searchResult|more|rank|topicDetail|topicList|favorite|love)|movie\/(navBlock|navFilter|detail|favorite|love|history)) url script-response-body https://raw.githubusercontent.com/Yu9191/Rewrite/refs/heads/main/huangdouduanju/dist/huangdou.js
8+
9+
[mitm]
10+
hostname = cocoaview.cc, *.cocoaview.cc
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!name=huangdouduanjuVIP解锁
2+
#!desc=VIP解锁 + 去广告 + 完整播放(浏览器直接观看)
3+
#!icon=https://cdn.g3ejjm8m.com/common_file/headico/wahaha/58.jpg
4+
#!author=Yu9191 Rewrite
5+
#!homepage=https://github.com/Yu9191/Rewrite
6+
#!date=2026-09-01
7+
8+
[Argument]
9+
logLevel = select, "info", "off", "error", "warn", "debug", "all", tag=日志级别
10+
11+
[Script]
12+
http-response ^https?:\/\/cocoaview\.cc\/api\/(system\/info|user\/(info|home|vip|favorite)|drama\/(play|detail|navBlock|navFilter|searchResult|more|rank|topicDetail|topicList|favorite|love)|movie\/(navBlock|navFilter|detail|favorite|love|history)) script-path=https://raw.githubusercontent.com/Yu9191/Rewrite/refs/heads/main/huangdouduanju/dist/huangdou.js, requires-body=true, timeout=30, tag=huangdouduanju, argument=[{logLevel}]
13+
14+
[MITM]
15+
hostname = cocoaview.cc, *.cocoaview.cc
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!name=huangdouduanjuVIP解锁
2+
#!desc=VIP解锁 + 去广告 + 完整播放(浏览器直接观看)
3+
#!author=Yu9191 Rewrite
4+
#!homepage=https://github.com/Yu9191/Rewrite
5+
#!category=18+
6+
#!date=2026-09-01
7+
#!arguments=日志级别:info
8+
#!arguments-desc=日志级别: off / error / warn / info(默认) / debug / all
9+
10+
[Script]
11+
huangdouduanju = type=http-response, pattern="^https?:\/\/cocoaview\.cc\/api\/(system\/info|user\/(info|home|vip|favorite)|drama\/(play|detail|navBlock|navFilter|searchResult|more|rank|topicDetail|topicList|favorite|love)|movie\/(navBlock|navFilter|detail|favorite|love|history))", requires-body=1, max-size=-1, timeout=30, script-path=https://raw.githubusercontent.com/Yu9191/Rewrite/refs/heads/main/huangdouduanju/dist/huangdou.js, argument=logLevel={{{日志级别}}}
12+
13+
[MITM]
14+
hostname = %APPEND% cocoaview.cc, *.cocoaview.cc

‎huangdouduanju/package.json‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "huangdou-rewrite",
3+
"version": "1.0.0",
4+
"description": "huangdouduanju VIP 解锁 + 去广告 + 完整播放 (script-analyze-echo-response)",
5+
"type": "module",
6+
"scripts": {
7+
"build": "rollup -c",
8+
"build:watch": "rollup -c -w"
9+
},
10+
"author": "Yu9191 Rewrite",
11+
"license": "MIT",
12+
"dependencies": {
13+
"@nsnanocat/url": "^1.2.5",
14+
"@nsnanocat/util": "^2.6.11",
15+
"crypto-js": "^4.2.0",
16+
"fflate": "^0.8.2"
17+
},
18+
"devDependencies": {
19+
"@rollup/plugin-commonjs": "^25.0.8",
20+
"@rollup/plugin-json": "^6.1.0",
21+
"@rollup/plugin-node-resolve": "^16.0.3",
22+
"@rollup/plugin-terser": "^0.4.4",
23+
"rollup": "^4.60.1"
24+
}
25+
}

0 commit comments

Comments
 (0)