Jesse Bannon
3c87dc9f8e
[BUGFIX] Fix date_range plugin as a match-filter ( #726 )
...
Bugfix to the prior release. Convert yt-dlp date formats (i.e. `today-2months`) into a date string with format `YYYYMMDD`. This will make it compatible with match-filter syntax
2023-09-20 08:30:29 -07:00
Jesse Bannon
1a118e225a
[BACKEND] Perform match-filters at metadata stage, use match-filters for date_range plugin ( #725 )
...
Solved Issue: https://github.com/jmbannon/ytdl-sub/issues/706
From our discussion with yt-dlp folks (https://github.com/yt-dlp/yt-dlp/issues/8108 ), we learned that best practices for date--range filtering is done using match-filters. We now set the `date_range` plugin values to be a 'breaking' match filter, and any custom ones specified from users in the `match_filters` plugin as non-breaking. This means match-filters can be performed at the metadata stage, which should yield a significant speedup
Relevant docs:
- date_range: https://ytdl-sub.readthedocs.io/en/latest/config.html#date-range
- match_filters: https://ytdl-sub.readthedocs.io/en/latest/config.html#match-filters
2023-09-19 11:19:15 -07:00
Jesse Bannon
e3c662bc35
[REFACTOR] Shared plugin code ( #664 )
...
* [REFACTOR] Shared plugin code
* arg names
* all plugins have priority
* split abstract method
* lint
* lint
2023-07-25 12:11:50 -07:00
Jesse Bannon
7e997f304d
[REFACTOR] OptionsValidator + OptionsDictValidator ( #657 )
...
* [REFACTOR] OptionsValidator + OptionsDictValidator
* more
2023-07-24 10:12:38 -07:00
Jesse Bannon
ed7015296c
[BUGFIX] break_on_existing for tv presets, break_on_reject only when after is supplied ( #273 )
2022-10-06 12:21:37 -07:00
Jesse Bannon
4b2e6e1169
[FEATURE] Set break_on_reject: True when using date_range plugin ( #221 )
2022-09-07 15:30:16 -07:00
Jesse Bannon
73be77c500
[FEATURE] date_range plugin, supports Override variables ( #199 )
2022-08-28 11:09:11 -07:00