From ebed8b373214316fce489fe21629fcef91bb9af3 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sun, 2 Jan 2022 16:23:20 +0530 Subject: Add more post-processing stages playlist = After entire playlist after_video = After downloading all formats of a video --- yt_dlp/options.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'yt_dlp/options.py') diff --git a/yt_dlp/options.py b/yt_dlp/options.py index f4e5d14df..a96fb82a2 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -1482,8 +1482,10 @@ def parseOpts(overrideArguments=None): 'ARGS are a semicolon ";" delimited list of NAME=VALUE. ' 'The "when" argument determines when the postprocessor is invoked. ' 'It can be one of "pre_process" (after extraction), ' - '"before_dl" (before video download), "post_process" (after video download; default) ' - 'or "after_move" (after moving file to their final locations). ' + '"before_dl" (before video download), "post_process" (after video download; default), ' + '"after_move" (after moving file to their final locations), ' + '"after_video" (after downloading and processing all formats of a video), ' + 'or "playlist" (end of playlist). ' 'This option can be used multiple times to add different postprocessors')) sponsorblock = optparse.OptionGroup(parser, 'SponsorBlock Options', description=( -- cgit v1.2.3