From 2f2eeea5a722b6b7053eb2825d16fa37938b4e9e Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Sun, 28 Jul 2024 13:19:40 -0400 Subject: [PATCH] fix(YouTube - Keyword filter): Filter videos from new subscription layout --- .../youtube/patches/components/KeywordContentFilter.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/app/revanced/integrations/youtube/patches/components/KeywordContentFilter.java b/app/src/main/java/app/revanced/integrations/youtube/patches/components/KeywordContentFilter.java index 56f044c4..4e0e6f58 100644 --- a/app/src/main/java/app/revanced/integrations/youtube/patches/components/KeywordContentFilter.java +++ b/app/src/main/java/app/revanced/integrations/youtube/patches/components/KeywordContentFilter.java @@ -107,6 +107,7 @@ final class KeywordContentFilter extends Filter { "search_video_with_context.eml", "video_with_context.eml", // Subscription tab videos. "related_video_with_context.eml", + "video_lockup_with_attachment.eml", // A/B test for subscribed video. "compact_video.eml", "inline_shorts", "shorts_video_cell", @@ -120,7 +121,7 @@ final class KeywordContentFilter extends Filter { private final StringFilterGroup containsFilter = new StringFilterGroup( null, "modern_type_shelf_header_content.eml", - "shorts_lockup_cell.eml", // Part of 'shorts_shelf_carousel.eml' + "shorts_lockup_cell.eml", // Part of 'shorts_shelf_carousel.eml' "video_card.eml" // Shorts that appear in a horizontal shelf. ); @@ -166,7 +167,7 @@ final class KeywordContentFilter extends Filter { /** * If filtering is temporarily turned off, the time to resume filtering. - * Field is zero if no timeout is in effect. + * Field is zero if no backoff is in effect. */ private volatile long timeToResumeFiltering;