|
|
e6e5214fa5
|
refactor(tradein): drop dead schema — sale_type_text column + audit_log (#731)
Verified-safe subset of TradeinDb_Audit_May30 (analyst-pruned).
- remove sale_type_text refs from yandex_detail.py (model field + parse + ctor)
and conflict_resolution.py priority map (column 100% NULL, code-only)
- migration 095: ALTER listings DROP COLUMN sale_type_text; DROP TABLE audit_log
(0 rows, 0 refs, no triggers). BEGIN/COMMIT + IF EXISTS, idempotent.
Refs #731
|
2026-05-31 15:57:37 +03:00 |
|
|
|
3d90221fa0
|
feat(tradein): yandex_detail.py — Product JSON-LD + DOM detail parser (#466)
Deploy Trade-In / changes (push) Successful in 4s
Deploy Trade-In / build-frontend (push) Has been skipped
Deploy Trade-In / build-backend (push) Successful in 38s
Deploy Trade-In / deploy (push) Successful in 21s
Stage 4 of YandexRealtyScraper v1. YandexDetailScraper.fetch_detail(offer_url) extracts authoritative price from Product JSON-LD (offers.price exact int) + DOM sections (description, agent, stats, metro, photos 8 sizes, newbuilding link, NLP). 35 unit tests, ruff clean. Photo URLs sanitized downstream via _safe_url CDN allowlist (avatars.mds.yandex.net).
|
2026-05-23 13:45:09 +00:00 |
|