mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-08-30 11:05:15 +02:00
fix(YouTube - Keyword filter): Filter videos from new subscription layout
This commit is contained in:
parent
3945a37944
commit
2f2eeea5a7
@ -107,6 +107,7 @@ final class KeywordContentFilter extends Filter {
|
|||||||
"search_video_with_context.eml",
|
"search_video_with_context.eml",
|
||||||
"video_with_context.eml", // Subscription tab videos.
|
"video_with_context.eml", // Subscription tab videos.
|
||||||
"related_video_with_context.eml",
|
"related_video_with_context.eml",
|
||||||
|
"video_lockup_with_attachment.eml", // A/B test for subscribed video.
|
||||||
"compact_video.eml",
|
"compact_video.eml",
|
||||||
"inline_shorts",
|
"inline_shorts",
|
||||||
"shorts_video_cell",
|
"shorts_video_cell",
|
||||||
@ -120,7 +121,7 @@ final class KeywordContentFilter extends Filter {
|
|||||||
private final StringFilterGroup containsFilter = new StringFilterGroup(
|
private final StringFilterGroup containsFilter = new StringFilterGroup(
|
||||||
null,
|
null,
|
||||||
"modern_type_shelf_header_content.eml",
|
"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.
|
"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.
|
* 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;
|
private volatile long timeToResumeFiltering;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user