aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-01-02 16:23:20 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-01-03 19:40:05 +0530
commitebed8b373214316fce489fe21629fcef91bb9af3 (patch)
tree06901b187ee0b01709902c02b3dd82ca1bb89e2b /yt_dlp/options.py
parent1e43a6f7336f4d9691dc52a1bc7cfe14ba7a936d (diff)
downloadhypervideo-pre-ebed8b373214316fce489fe21629fcef91bb9af3.tar.lz
hypervideo-pre-ebed8b373214316fce489fe21629fcef91bb9af3.tar.xz
hypervideo-pre-ebed8b373214316fce489fe21629fcef91bb9af3.zip
Add more post-processing stages
playlist = After entire playlist after_video = After downloading all formats of a video
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r--yt_dlp/options.py6
1 files changed, 4 insertions, 2 deletions
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=(