From 05dff52e8537d25538da9f851cb1a74dbfb9dc57 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Mon, 30 Dec 2024 19:49:11 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=93=94=E5=93=A9=E5=93=94=E5=93=A9):=20?= =?UTF-8?q?=E5=88=86=E6=AE=B5=E5=B9=BF=E5=91=8A-=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=8E=A8=E8=8D=90=E8=A7=86=E9=A2=91=E5=8D=A1=E7=89=87=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=20(=E8=A1=A5=E5=85=85=E8=A7=84=E5=88=99=20#661)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/tv.danmaku.bili.ts | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/apps/tv.danmaku.bili.ts b/src/apps/tv.danmaku.bili.ts index e8c0fdeb9..db5aafd81 100644 --- a/src/apps/tv.danmaku.bili.ts +++ b/src/apps/tv.danmaku.bili.ts @@ -213,12 +213,11 @@ export default defineGkdApp({ key: 10, name: '分段广告-首页推荐视频卡片广告', fastQuery: true, - activityIds: 'tv.danmaku.bili.MainActivityV2', + activityIds: '.MainActivityV2', rules: [ { key: 0, name: '点击卡片广告右下角菜单按钮', - actionMaximum: 1, matches: '@[vid="more"] - [vid="desc_content"]', snapshotUrls: [ 'https://i.gkd.li/i/14083540', @@ -228,17 +227,23 @@ export default defineGkdApp({ }, { key: 1, - actionMaximum: 1, matches: '@[vid="inline_more"][visibleToUser=true] <4 ViewGroup - FrameLayout > [vid="corner_hint_container"]', exampleUrls: 'https://e.gkd.li/d3d37b4e-cda3-4ba6-8af3-7b45ac8efc10', snapshotUrls: 'https://i.gkd.li/i/17428126', excludeSnapshotUrls: 'https://i.gkd.li/i/17848536', }, + { + key: 2, + matches: + '@[vid="more"][visibleToUser=true] -2 [text^="广告"] <