environment variable to customize output file names

This commit is contained in:
Alfred Toth 2021-05-18 16:15:49 +02:00
parent 155d93a14c
commit c8462012a1
2 changed files with 5 additions and 3 deletions

View file

@ -17,6 +17,7 @@ class Config:
_DEFAULTS = {
'DOWNLOAD_DIR': '.',
'URL_PREFIX': '',
'OUTPUT_TEMPLATE': '%(title)s.%(ext)s',
}
def __init__(self):