Skip to content

Commit

Permalink
feat(爱奇艺): 开屏广告、全屏广告-播放页-插入广告 (补充规则 AIsouler#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
AIsouler committed Dec 14, 2024
1 parent f68280e commit db0418a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/apps/com.qiyi.video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ export default defineGkdApp({
priorityTime: 10000,
rules: [
{
matches: '@LinearLayout > [text="关闭"]',
// 需点击 clickable=true 的节点 https://github.com/AIsouler/GKD_subscription/issues/613
matches: '@[clickable=true] >(1,2) [text="关闭"]',
snapshotUrls: [
'https://i.gkd.li/i/13160866',
'https://i.gkd.li/i/13379565',
'https://i.gkd.li/i/18135566',
],
},
],
Expand Down Expand Up @@ -82,12 +84,21 @@ export default defineGkdApp({
desc: '视频播放前或播放中途插入的广告',
rules: [
{
key: 1,
fastQuery: true,
activityIds: 'org.iqiyi.video.activity.PlayerActivity',
matches: '@[clickable=true] > [text^="关闭广告"]',
exampleUrls: 'https://e.gkd.li/04622996-5a6d-4577-a1cb-adcae37f62b6',
snapshotUrls: 'https://i.gkd.li/i/18134230',
},
{
key: 2,
fastQuery: true,
activityIds: 'org.iqiyi.video.activity.PlayerActivity',
matches: '[vid="btn_ads_img_pause_close"][visibleToUser=true]',
exampleUrls: 'https://e.gkd.li/2cc7688b-f802-4ebe-9eb6-6b9bc6ed5633',
snapshotUrls: 'https://i.gkd.li/i/18135562',
},
],
},
],
Expand Down

0 comments on commit db0418a

Please sign in to comment.