ytdl-sub/src/ytdl_sub/subscriptions
Jesse Bannon 6615e1d1ac
[BACKEND] Always filter out live, post_live, and upcoming videos on download (#742)
Closes Issue: https://github.com/jmbannon/ytdl-sub/issues/729

Add a new field to the match_filter plugin: `download_match_filters`. This set of filters will be applied at the download stage (as opposed to `filters` which get applied at the metadata stage). By default, always set `"!is_live & !is_upcoming & !post_live"` as a download filter. This prevents ytdl-sub from hanging when trying to grab live and upcoming videos.

Docs on match-filters: https://ytdl-sub.readthedocs.io/en/latest/config.html#match-filters
2023-09-24 06:24:21 -07:00
..
__init__.py setup cfg 2022-04-26 07:19:53 +00:00
base_subscription.py [REFACTOR] No more download strategy (#669) 2023-07-25 19:51:50 -07:00
subscription.py [FEATURE] Add __value__ to subscription files to be able to create one-liner subs (#641) 2023-06-29 23:57:54 -07:00
subscription_download.py [BACKEND] Always filter out live, post_live, and upcoming videos on download (#742) 2023-09-24 06:24:21 -07:00
subscription_ytdl_options.py [BACKEND] Always filter out live, post_live, and upcoming videos on download (#742) 2023-09-24 06:24:21 -07:00