- New: app/services/cian_session.py — load/save/verify encrypted Cian cookies (pgp_sym_encrypt via COOKIE_ENCRYPTION_KEY, psycopg v3, httpx) - Modified: app/api/v1/admin.py — POST /scrape/cian/upload-cookies + GET /scrape/cian/test-auth (behind existing require_admin X-Admin-Token) - Modified: app/core/config.py — add cookie_encryption_key setting (env COOKIE_ENCRYPTION_KEY) - New: tests/test_cian_session.py — 16 unit tests (16/16 passed) - New: scripts/upload-cian-cookies.sh — CLI helper for cookie upload flow |
||
|---|---|---|
| .. | ||
| app | ||
| data/sql | ||
| tests | ||
| .dockerignore | ||
| Dockerfile | ||
| pyproject.toml | ||