From 01dc7fa0cece97b87e9f69c33d63879b63ac9814 Mon Sep 17 00:00:00 2001 From: aisouler Date: Wed, 21 Feb 2024 19:25:42 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=AC=A1=E5=85=83=E5=9F=8E=E5=8A=A8?= =?UTF-8?q?=E7=94=BB):=20=E4=BC=98=E5=8C=96=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/net.duohuo.cyc.ts | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/apps/net.duohuo.cyc.ts b/src/apps/net.duohuo.cyc.ts index e4c0e5ff..342a50f5 100644 --- a/src/apps/net.duohuo.cyc.ts +++ b/src/apps/net.duohuo.cyc.ts @@ -10,17 +10,25 @@ export default defineAppConfig({ rules: [ { key: 0, + quickFind: true, activityIds: 'top.cycdm.cycapp.MainActivity', matches: - '[id="net.duohuo.cyc:id/ksad_tk_view"] >4 ViewGroup[index=1] >3 ViewGroup[index=0][childCount=1]', - snapshotUrls: 'https://i.gkd.li/import/13972796', + '@ViewGroup[clickable=true][childCount=1] < ViewGroup +2 ViewGroup[childCount=2] > [text="广告"]', + snapshotUrls: [ + 'https://i.gkd.li/import/13972796', + 'https://i.gkd.li/import/14358701', + 'https://i.gkd.li/import/14358706', + ], }, { key: 1, quickFind: true, activityIds: 'top.cycdm.cycapp.MainActivity', - matches: '@ViewGroup[childCount=4] > [text="跳过"]', - snapshotUrls: 'https://i.gkd.li/import/13972792', + matches: '@[clickable=true] > [text="跳过"]', + snapshotUrls: [ + 'https://i.gkd.li/import/13972792', + 'https://i.gkd.li/import/14358630', + ], }, ], },