diff --git a/src/apps/com.sohu.sohuvideo.ts b/src/apps/com.sohu.sohuvideo.ts new file mode 100644 index 00000000..c5cc7787 --- /dev/null +++ b/src/apps/com.sohu.sohuvideo.ts @@ -0,0 +1,30 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.sohu.sohuvideo', + name: '搜狐视频', + groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: '[text*="跳过"][text.length<=10]', + snapshotUrls: 'https://i.gkd.li/import/13435484', + }, + { + key: 1, + name: '版本更新', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + activityIds: 'com.sohu.sohuvideo.ui.homepage.MainActivity', + rules: + '@[id="com.sohu.sohuvideo:id/ivClose"] + LinearLayout [text="新版本上线啦"]', + snapshotUrls: 'https://i.gkd.li/import/13435504', + }, + ], +});