aboutsummaryrefslogtreecommitdiff
path: root/app/main.py
diff options
context:
space:
mode:
authorAlex <alexta69@gmail.com>2022-06-19 21:52:22 +0300
committerGitHub <noreply@github.com>2022-06-19 21:52:22 +0300
commit339c0aeb0bdead2b5122104b953dfed59e02e955 (patch)
tree7f1d83107ca973adac74069cff70e5bad8432f4f /app/main.py
parentMerge pull request #144 from shalak/enhance_bookmarklets (diff)
parentadded note about the OUTPUT_TEMPLATE_CHAPTER config variable to the README (diff)
downloadmetube-339c0aeb0bdead2b5122104b953dfed59e02e955.tar.gz
metube-339c0aeb0bdead2b5122104b953dfed59e02e955.tar.bz2
metube-339c0aeb0bdead2b5122104b953dfed59e02e955.zip
Merge pull request #149 from georgekav2/master
Bugfix: Use paths for providing path information instead of implicit path in output template
Diffstat (limited to 'app/main.py')
-rw-r--r--app/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/main.py b/app/main.py
index 36c0e94..9fbdf19 100644
--- a/app/main.py
+++ b/app/main.py
@@ -19,6 +19,7 @@ class Config:
'STATE_DIR': '.',
'URL_PREFIX': '',
'OUTPUT_TEMPLATE': '%(title)s.%(ext)s',
+ 'OUTPUT_TEMPLATE_CHAPTER': '%(title)s - %(section_number)s %(section_title)s.%(ext)s',
'YTDL_OPTIONS': '{}',
}
bgstack15