fix(scraper-kit): бедный re-scrape больше не стирает признаки продавца #3067
1 changed files with 3 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue