gendesign/tradein-mvp/backend
lekss361 9e1c7d5147 fix(tradein-avito): strip Emotion CSS from listings.address
Avito DOM leaks inline <style>.css-XXX{...}</style> inside the location <p>,
which gets pulled by .text(strip=True). Add _clean_address() helper that strips
CSS rules + post-address noise (Площадь N года, от N мин.), apply at extraction
site. Also applied to address_full in avito_detail.py via import from avito.py.
Backfill migration cleans the ~hundreds of historical rows.

Source: estimate a0a0b820-e8a8-4eee-aa73-0ab3b98ac233 analog #4.
2026-05-24 13:28:41 +03:00
..
app fix(tradein-avito): strip Emotion CSS from listings.address 2026-05-24 13:28:41 +03:00
data/sql fix(tradein-avito): strip Emotion CSS from listings.address 2026-05-24 13:28:41 +03:00
tests fix(tradein-avito): strip Emotion CSS from listings.address 2026-05-24 13:28:41 +03:00
.dockerignore feat: add tradein-mvp subproject (Trade-In Estimator под /trade-in) 2026-05-21 00:25:39 +03:00
Dockerfile feat: add tradein-mvp subproject (Trade-In Estimator под /trade-in) 2026-05-21 00:25:39 +03:00
pyproject.toml feat(tradein): Phase 3.2 — /api/v1/search endpoint + Redis cache (#479) 2026-05-23 14:44:22 +00:00