lekss361
|
4f26720dc8
|
feat(tradein): bulk sweep CLI for Yandex valuation house-history (EKB)
- New tradein-mvp/scripts/sweep-yandex-valuation-ekb.py
- Iterates DISTINCT addresses from listings (source='yandex' AND region_code=66)
- Calls existing estimator helpers (_get_or_fetch_yandex_valuation_cached +
_save_yandex_history_items) — page=1 uses 24h cache; pages 2..N go direct
- Idempotent — skips addresses with external_valuations.fetched_at < N days
- CLI: --limit / --max-pages / --delay / --address-delay / --skip-recent-days /
--address (single-address mode)
- Backfills the 160 orphan rows now that PR #526 (parser) + #531 (house_id link)
are wired
|
2026-05-24 17:32:44 +03:00 |
|