Move download all setting to config.py

This commit is contained in:
Jan Bader
2026-04-12 22:37:35 +02:00
parent 038d239033
commit 0eee28968f
3 changed files with 3 additions and 4 deletions

View File

@@ -19,6 +19,7 @@ class Config:
BROWSER_HEADLESS = os.getenv("BROWSER_HEADLESS", "true").lower() == "true"
BROWSER_TIMEOUT = int(os.getenv("BROWSER_TIMEOUT", "60000"))
LOG_LEVEL = os.getenv("LOG_LEVEL", "INFO")
DOWNLOAD_ALL_YEARS = os.getenv("DOWNLOAD_ALL_YEARS", "false").lower() in ("1", "true", "yes", "y")
@classmethod
def validate(cls):