From c8462012a1ef4e7d7ec97f31364cb466dd895ba5 Mon Sep 17 00:00:00 2001 From: Alfred Toth Date: Tue, 18 May 2021 16:15:49 +0200 Subject: environment variable to customize output file names --- app/main.py | 1 + 1 file changed, 1 insertion(+) (limited to 'app/main.py') 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): -- cgit