aboutsummaryrefslogtreecommitdiff
path: root/app/main.py
diff options
context:
space:
mode:
authorAlex <alexta69@gmail.com>2021-05-18 21:08:18 +0300
committerGitHub <noreply@github.com>2021-05-18 21:08:18 +0300
commit3c7e66760d1b340d35fabf2bc37dea2cf75666e6 (patch)
tree53de4205e856a0a1f18cd10a4d2a79b63fd3b3f0 /app/main.py
parentupgraded youtube-dl (diff)
parentadd documentation for the OUTPUT_TEMPLATE env variable (diff)
downloadmetube-3c7e66760d1b340d35fabf2bc37dea2cf75666e6.tar.gz
metube-3c7e66760d1b340d35fabf2bc37dea2cf75666e6.tar.bz2
metube-3c7e66760d1b340d35fabf2bc37dea2cf75666e6.zip
Merge pull request #31 from xiongzi/master
environment variable to customize output file names
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 88d2525..b8b512d 100644
--- a/app/main.py
+++ b/app/main.py
@@ -17,6 +17,7 @@ class Config:
_DEFAULTS = {
'DOWNLOAD_DIR': '.',
'URL_PREFIX': '',
+ 'OUTPUT_TEMPLATE': '%(title)s.%(ext)s',
}
def __init__(self):
bgstack15