aboutsummaryrefslogtreecommitdiff
path: root/app/main.py
diff options
context:
space:
mode:
authorAlfred Toth <alfred.toth@inctoo.de>2021-05-18 16:15:49 +0200
committerAlfred Toth <alfred.toth@inctoo.de>2021-05-18 16:15:49 +0200
commitc8462012a1ef4e7d7ec97f31364cb466dd895ba5 (patch)
treead3238176c80e039dc9a24c1413c9e2762f24377 /app/main.py
parentupgraded youtube-dl (diff)
downloadmetube-c8462012a1ef4e7d7ec97f31364cb466dd895ba5.tar.gz
metube-c8462012a1ef4e7d7ec97f31364cb466dd895ba5.tar.bz2
metube-c8462012a1ef4e7d7ec97f31364cb466dd895ba5.zip
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