1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-07-31 17:44:33 -05:00

Allow --exec to be run at any post-processing stage

Deprecates `--exec-before-download`
This commit is contained in:
pukkandan
2022-01-03 16:43:54 +05:30
parent ca30f449a1
commit 1e43a6f733
6 changed files with 52 additions and 45 deletions

View File

@@ -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',