feat(api): 更新 API 配置并添加新规则

- 为 Douban 添加 jar 文件链接
- 移除 Tiang 去广告规则
- 新增多个广告规则,包括量子非凡、索尼、乐视等
- 更新现有广告规则,如农民、磁力等
- 修复部分网站的播放脚本
This commit is contained in:
Wang.Luo 2025-08-30 16:37:34 +08:00
parent 4c48e32acf
commit d470a5ea37
2 changed files with 125 additions and 21 deletions

142
api.json
View File

@ -7,6 +7,7 @@
"key": "豆瓣",
"name": "豆瓣|首页",
"type": 3,
"jar": "https://gitee.com/zj521jj/little-tiger-spot/raw/master/jar/HubanTC.jar",
"api": "csp_Douban",
"searchable": 0
},
@ -793,16 +794,6 @@
"type": "list"
}
},
{
"key": "天堂",
"name": "天堂4K弹幕",
"type": 3,
"api": "./js/drpy2.min.js",
"ext": "./js/天堂.js",
"style": {
"type": "list"
}
},
{
"key": "人人电影网",
"name": "人人4K弹幕",
@ -2265,6 +2256,102 @@
}
],
"rules": [
{
"name": "量子非凡",
"hosts": [
"lz",
"vip.lz",
"v.cdnlz",
"hd.lz",
"ffzy",
"vip.ffzy",
"hd.ffzy"
],
"regex": [
"#EXT-X-DISCONTINUITY\r*\n*#EXTINF:6.666667,[\\s\\S]*?#EXT-X-DISCONTINUITY",
"#EXT-X-DISCONTINUITY\r*\n*#EXTINF:6.600000,[\\s\\S]*?#EXT-X-DISCONTINUITY"
]
},
{
"name": "索尼",
"hosts": [
"suonizy",
"qrssv.com"
],
"regex": [
"15.1666",
"15.2666"
]
},
{
"name": "乐视",
"hosts": [
"leshiyun"
],
"regex": [
"15.92"
]
},
{
"name": "优质",
"hosts": [
"yzzy",
"playback"
],
"regex": [
"16.63",
"18.66",
"17.66",
"19.13"
]
},
{
"name": "快看",
"hosts": [
"kuaikan",
"vip.kuaikan"
],
"regex": [
"15.32",
"15.231",
"18.066"
]
},
{
"name": "360",
"hosts": [
"lyhuicheng"
],
"regex": [
"#EXTINF.*?\\s+.*?hrz8QcR9.*?\\.ts\\s+",
"#EXT-X-KEY:METHOD=NONE[\\s\\S]*?#EXT-X-DISCONTINUITY"
]
},
{
"name": "开源棋牌",
"hosts": [
"askzycdn",
"jkunbf",
"bfikuncdn",
"bfaskcdn"
],
"regex": [
"#EXT-X-KEY:METHOD=NONE\r*\n*#EXTINF:5,[\\s\\S]*?#EXT-X-DISCONTINUITY",
"#EXT-X-KEY:METHOD=AES-128,URI=\"[^\"]+\"\r*\n*#EXTINF:3.333,[\\s\\S]*?#EXT-X-DISCONTINUITY"
]
},
{
"name": "暴风",
"hosts": [
"bfengbf.com",
"bfzy",
"c1"
],
"regex": [
"#EXTINF.*?\\s+.*?adjump.*?\\.ts\\s+",
"#EXT-X-DISCONTINUITY\r*\n*#EXTINF:3,[\\s\\S]*?#EXT-X-DISCONTINUITY"
]
},
{
"name": "农民",
"hosts": [
@ -2292,6 +2379,32 @@
"is_play_url="
]
},
{
"name": "磁力",
"hosts": [
"magnet"
],
"regex": [
"更多",
"请访问",
"example",
"社 區",
"x u u",
"直 播",
"更 新",
"社 区",
"有趣",
"有 趣",
"英皇体育",
"全中文AV在线",
"澳门皇冠赌场",
"哥哥快来",
"美女荷官",
"裸聊",
"新片首发",
"UUE29"
]
},
{
"name": "饭团点击",
"hosts": [
@ -2311,15 +2424,6 @@
"script": [
"document.getElementsByClassName('swal-buttonswal-button--confirm')[0].click()"
]
},
{
"name": "ofiii",
"hosts": [
"www.ofiii.com"
],
"script": [
"const play=document.getElementsByClassName('play_icon')[0],event=new MouseEvent('click',{bubbles:!0,cancelable:!0,view:window,screenX:100,screenY:100,clientX:50,clientY:50,button:0,shiftKey:!1,ctrlKey:!1,altKey:!1,metaKey:!1,modifierState:0});play.dispatchEvent(event);"
]
}
],
"doh": [

Binary file not shown.