fix(scraper-kit): бедный re-scrape больше не стирает признаки продавца #3067

Merged
lekss361 merged 3 commits from fix/yandex-seller-fields-erosion into main 2026-08-23 21:52:38 +00:00
Showing only changes of commit 85fc18dcb3 - Show all commits

View file

@ -158,7 +158,9 @@ def _lot(src_id: str, *, rich: bool) -> ScrapedLot:
extra = {
"is_homeowner": True,
"is_pro_seller": False,
"phones": ["+79000000000"],
# phones — jsonb вида [{countryCode, number, type}, ...]
# (019_listings_alter_cian.sql:41), а не список строк.
"phones": [{"countryCode": "+7", "number": "9000000000", "type": "mobile"}],
"sale_type": "free",
}
return ScrapedLot(