feat(parsers): sync RU proxies from proxy-tools
Some checks failed
CI/CD Pipeline / Telegram Notify Success (push) Has been cancelled
CI/CD Pipeline / Run Tests (push) Has been cancelled
CI/CD Pipeline / Code Quality Checks (push) Has been cancelled

This commit is contained in:
2026-03-23 10:47:34 +01:00
parent b4260d53cb
commit 7d4c54636b
13 changed files with 705 additions and 15 deletions

View File

@@ -200,6 +200,16 @@ FNS_LOCK_TTL_SECONDS = 3600
PARSER_PROXIES = [
item.strip() for item in os.getenv("PARSER_PROXIES", "").split(",") if item.strip()
]
PROXY_TOOLS_API_KEY = os.getenv("PROXY_TOOLS_API_KEY", "").strip()
PROXY_TOOLS_API_URL = os.getenv(
"PROXY_TOOLS_API_URL", "https://proxy-tools.com/api/v1/proxies"
).strip()
PROXY_TOOLS_TIMEOUT_SECONDS = int(os.getenv("PROXY_TOOLS_TIMEOUT_SECONDS", "30"))
PROXY_TOOLS_LIMIT = int(os.getenv("PROXY_TOOLS_LIMIT", "100"))
PROXY_TOOLS_MAX_PAGES = int(os.getenv("PROXY_TOOLS_MAX_PAGES", "3"))
PROXY_TOOLS_SYNC_INTERVAL_SECONDS = int(
os.getenv("PROXY_TOOLS_SYNC_INTERVAL_SECONDS", "3600")
)
BACKUP_ENCRYPTION_KEY = os.getenv("BACKUP_ENCRYPTION_KEY", "")
BACKUP_KEY_ID = os.getenv("BACKUP_KEY_ID", "default")
BACKUP_EXPORT_DIRECTORY = os.getenv(