fix(parsers): support proxy fallback from env for external sources
Some checks failed
CI/CD Pipeline / Code Quality Checks (push) Successful in 2m18s
CI/CD Pipeline / Run Tests (push) Successful in 2m55s
CI/CD Pipeline / Telegram Notify Success (push) Failing after 5m1s

This commit is contained in:
2026-03-20 11:43:12 +01:00
parent b8e3f0a5d3
commit c4b5b7f2c2
3 changed files with 34 additions and 21 deletions

View File

@@ -197,7 +197,9 @@ WSGI_APPLICATION = "core.wsgi.application"
ZAKUPKI_TOKEN = os.getenv("ZAKUPKI_TOKEN", "")
FNS_LOCK_TTL_SECONDS = 3600
PARSER_PROXIES = []
PARSER_PROXIES = [
item.strip() for item in os.getenv("PARSER_PROXIES", "").split(",") if item.strip()
]
BACKUP_ENCRYPTION_KEY = os.getenv("BACKUP_ENCRYPTION_KEY", "")
BACKUP_KEY_ID = os.getenv("BACKUP_KEY_ID", "default")
BACKUP_EXPORT_DIRECTORY = os.getenv(