ytdl-sub/src/ytdl_sub/downloaders/url
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 [REFACTOR] BaseDownloader (#542) 2023-03-14 23:42:50 -07:00
downloader.py [BACKEND] Always filter out live, post_live, and upcoming videos on download (#742) 2023-09-24 06:24:21 -07:00
multi_url.py [REFACTOR] Purge download_strategy from configs + tests (#670) 2023-07-25 20:26:04 -07:00
url.py [REFACTOR] Purge download_strategy from configs + tests (#670) 2023-07-25 20:26:04 -07:00
validators.py [REFACTOR] Support simple download (#671) 2023-07-26 09:00:00 -07:00