From f818dc87cf349b67692865e92935bbf10c68959a Mon Sep 17 00:00:00 2001 From: AIsouler Date: Fri, 26 Jul 2024 16:46:30 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=BF=85=E9=9B=B7):=20=E5=85=A8=E5=B1=8F?= =?UTF-8?q?=E5=B9=BF=E5=91=8A-=E5=BC=B9=E7=AA=97=E5=B9=BF=E5=91=8A?= =?UTF-8?q?=EF=BC=88=E8=A1=A5=E5=85=85=E8=A7=84=E5=88=99=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.xunlei.downloadprovider.ts | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/src/apps/com.xunlei.downloadprovider.ts b/src/apps/com.xunlei.downloadprovider.ts index bfae2989..4a168f92 100644 --- a/src/apps/com.xunlei.downloadprovider.ts +++ b/src/apps/com.xunlei.downloadprovider.ts @@ -137,6 +137,24 @@ export default defineGkdApp({ 'https://i.gkd.li/i/13799878', ], }, + { + key: 2, + activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity', + matches: + 'TextView[text="广告"] @ViewGroup', + snapshotUrls: 'https://i.gkd.li/i/12879452', + }, + { + key: 3, + fastQuery: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity', + matches: '[vid="close_btn"][visibleToUser=true]', + exampleUrls: 'https://e.gkd.li/71c2dc44-a976-4910-8e44-26e39865406e', + snapshotUrls: 'https://i.gkd.li/i/16388890', + }, // 字节广告 { @@ -219,13 +237,6 @@ export default defineGkdApp({ ], snapshotUrls: 'https://i.gkd.li/i/13761275', }, - { - key: 2, - activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity', - matches: - 'TextView[text="广告"] @ViewGroup', - snapshotUrls: 'https://i.gkd.li/i/12879452', - }, ], }, {