diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-01-03 16:43:54 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-01-03 19:40:02 +0530 |
commit | 1e43a6f7336f4d9691dc52a1bc7cfe14ba7a936d (patch) | |
tree | 218655a09fd54a9c51f4db1d5bb7564c633b6f3e /yt_dlp/utils.py | |
parent | ca30f449a187addcdb99f4c39333e7a292756597 (diff) |
Allow `--exec` to be run at any post-processing stage
Deprecates `--exec-before-download`
Diffstat (limited to 'yt_dlp/utils.py')
-rw-r--r-- | yt_dlp/utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py index ae23ec2a3..f56129aa5 100644 --- a/yt_dlp/utils.py +++ b/yt_dlp/utils.py @@ -3036,6 +3036,9 @@ def qualities(quality_ids): return q +POSTPROCESS_WHEN = {'pre_process', 'before_dl', 'after_move', 'post_process'} + + DEFAULT_OUTTMPL = { 'default': '%(title)s [%(id)s].%(ext)s', 'chapter': '%(title)s - %(section_number)03d %(section_title)s [%(id)s].%(ext)s', |