From acc7bb306bdbb206ec3f48eea8e8428bced60065 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Sat, 17 Jun 2023 13:32:12 -0700 Subject: [PATCH] [DOCS] Clean up match-filter plugin docs (#633) --- src/ytdl_sub/plugins/match_filters.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/ytdl_sub/plugins/match_filters.py b/src/ytdl_sub/plugins/match_filters.py index 27e9dce6..ef7f2a47 100644 --- a/src/ytdl_sub/plugins/match_filters.py +++ b/src/ytdl_sub/plugins/match_filters.py @@ -38,8 +38,12 @@ class MatchFiltersOptions(PluginOptions): my_example_preset: match_filters: filters: - - "original_url!*=/shorts/" - - "!is_live" + - "age_limit?100" + # Other common match-filters + # - "original_url!*=/shorts/ & !is_live" + # - "age_limit List[str]: """ The filters themselves. If used multiple times, the filter matches if at least one of the - conditions are met. + conditions are met. For logical AND's between match filters, use the ``&`` operator in + a single match filter. """ return [validator.value for validator in self._filters]