feat(parsers): add SOAP API support for zakupki.gov.ru
- Add post() method to BaseHTTPClient for SOAP requests - Update download_file() to support custom headers (for token) - Add ZAKUPKI_TOKEN and PARSER_PROXIES settings - Improve SOAP error parsing to show EIS error messages - Update E2E tests to use token from settings - Add data/ and .zed/ to gitignore
This commit is contained in:
@@ -221,6 +221,21 @@ CACHES = {
|
||||
}
|
||||
|
||||
|
||||
# =============================================================================
|
||||
# PARSERS SETTINGS
|
||||
# =============================================================================
|
||||
|
||||
# Zakupki.gov.ru API Token (получить через Госуслуги)
|
||||
ZAKUPKI_TOKEN = get_env("ZAKUPKI_TOKEN", "")
|
||||
|
||||
# Proxy list for parsers (comma-separated)
|
||||
PARSER_PROXIES = get_env("PARSER_PROXIES", "")
|
||||
if isinstance(PARSER_PROXIES, str) and PARSER_PROXIES:
|
||||
PARSER_PROXIES = [p.strip() for p in PARSER_PROXIES.split(",") if p.strip()]
|
||||
else:
|
||||
PARSER_PROXIES = []
|
||||
|
||||
|
||||
# Password validation
|
||||
AUTH_PASSWORD_VALIDATORS = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user