fix(yandex-valuation): curl_cffi chrome120 — Yandex gates SSR on Chrome TLS #545

Merged
lekss361 merged 1 commit from fix/tradein-yandex-curl-cffi into main 2026-05-24 16:42:08 +00:00

1 commit

Author SHA1 Message Date
lekss361
ed6e52f393 fix(yandex-valuation): use curl_cffi chrome120 — Yandex gates SSR on Chrome TLS
Live probe today: plain httpx GET to /otsenka-kvartiry-po-adresu-onlayn/
returns 200 OK with full HTML, but body contains only the table header row
(__head). Data rows are CSR-rendered. curl_cffi with impersonate=chrome120
gets full SSR (21 rows, 133 cells, 38 dates verified).

Override __aenter__/__aexit__/_http_get only in YandexValuationScraper —
BaseScraper untouched (other scrapers don't need Chrome TLS).

Sibling pattern: yandex_realty.py + scripts/local-sweep-ekb-yandex.py
already use curl_cffi chrome120. This brings yandex_valuation in line.

Net effect: DOM-based parser from PR #544 will actually have DOM rows to
parse. Previous re-sweep returned 0 saves because rows weren't in SSR.
2026-05-24 19:37:30 +03:00