mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-05 21:14:52 +00:00
Add pre-processor stage after_filter
* Move `_match_entry` and `post_extract` to `process_video_result`. It is also left in `process_info` for API compat
* `--list-...` options and `--force-write-archive` now obey filtering options
* Move `SponsorBlockPP` to `after_filter`. Closes https://github.com/yt-dlp/yt-dlp/issues/2536
* Reverts 4ec82a72bb
since this commit addresses the issue it was solving
This commit is contained in:
@@ -3166,7 +3166,7 @@ def qualities(quality_ids):
|
||||
return q
|
||||
|
||||
|
||||
POSTPROCESS_WHEN = {'pre_process', 'before_dl', 'after_move', 'post_process', 'after_video', 'playlist'}
|
||||
POSTPROCESS_WHEN = {'pre_process', 'after_filter', 'before_dl', 'after_move', 'post_process', 'after_video', 'playlist'}
|
||||
|
||||
|
||||
DEFAULT_OUTTMPL = {
|
||||
|
Reference in New Issue
Block a user