diff options
author | Alfred Toth <alfred.toth@inctoo.de> | 2021-05-18 16:15:49 +0200 |
---|---|---|
committer | Alfred Toth <alfred.toth@inctoo.de> | 2021-05-18 16:15:49 +0200 |
commit | c8462012a1ef4e7d7ec97f31364cb466dd895ba5 (patch) | |
tree | ad3238176c80e039dc9a24c1413c9e2762f24377 /app/main.py | |
parent | upgraded youtube-dl (diff) | |
download | metube-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.py | 1 |
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):
|