diff options
author | Alex <alexta69@gmail.com> | 2022-06-19 21:52:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-19 21:52:22 +0300 |
commit | 339c0aeb0bdead2b5122104b953dfed59e02e955 (patch) | |
tree | 7f1d83107ca973adac74069cff70e5bad8432f4f /app/main.py | |
parent | Merge pull request #144 from shalak/enhance_bookmarklets (diff) | |
parent | added note about the OUTPUT_TEMPLATE_CHAPTER config variable to the README (diff) | |
download | metube-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.py | 1 |
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': '{}',
}
|