Move download all setting to config.py
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user