mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-11 03:09:35 +00:00
[docs] Improvements
This commit is contained in:
@@ -769,6 +769,7 @@ class YoutubeDL:
|
||||
|
||||
def add_post_processor(self, pp, when='post_process'):
|
||||
"""Add a PostProcessor object to the end of the chain."""
|
||||
assert when in POSTPROCESS_WHEN, f'Invalid when={when}'
|
||||
self._pps[when].append(pp)
|
||||
pp.set_downloader(self)
|
||||
|
||||
|
Reference in New Issue
Block a user