Repository navigation
调试版接入抖音、快手推荐页视频文案筛选 - #10
Merged
Merged
Conversation
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改了什么
调试版接入抖音、抖音极速版(40.6.0)和快手、快手极速版(14.8.40.*)推荐页的视频文案筛选,流程与小红书实验一致:读取当前一条的公开文案,本机关键词或 Clef 判断,filter 时用
FeedMask把视频区域整块模糊,可点“显示这条”恢复,不自动划走。每个应用单独确认开启,默认关闭,只存内存。RealFeeds,小红书规则原样搬入,三类应用共用一次节点遍历。抖音两个包共用一套规则,快手两个包共用一套。没加
flagIncludeNotImportantViews:现有 flags 下文案、标签和广告、直播标记都能读到,加了以后抖音极速版的树会超过 300 节点 / 30 层上限,整屏被拒。小红书和验证场的行为不变。验证
macOS arm64,JDK 17。
42 项 JVM 测试通过(新增 8 项,用手写的合成节点树),Lint 无错误。逐个改坏 15 个判定条件,每次对应测试失败,恢复后通过。Android 13 模拟器上验证场回归 30 项和服务恢复 1 项通过。
规则用小米 10S(Android 13)上采到的界面结构在本机离线回放过,没有把广告、直播、登录页误读成可读取内容:抖音 11 屏、抖音极速版 7 屏、快手 10 屏、快手极速版 8 屏。真实 dump 和标题不进仓库。
没测:这四个应用都没在真机上运行。快手只采到未登录状态,没有广告和直播样本。
RealAppValidationTest和节点遍历只编译未运行。