Merge pull request 'feat(tradein): пагинация Циан/N1 3→8 страниц' (#381) from feat/tradein-deep-pagination into main
All checks were successful
Deploy Trade-In / changes (push) Successful in 4s
Deploy Trade-In / build-frontend (push) Has been skipped
Deploy Trade-In / build-backend (push) Successful in 43s
Deploy Trade-In / deploy (push) Successful in 16s

This commit is contained in:
lekss361 2026-05-21 11:34:45 +00:00
commit 8c7a628d17
2 changed files with 2 additions and 2 deletions

View file

@ -97,7 +97,7 @@ class CianScraper(BaseScraper):
return lots
async def fetch_around_multi_room(
self, lat: float, lon: float, radius_m: int = 1000, pages: int = 3,
self, lat: float, lon: float, radius_m: int = 1000, pages: int = 8,
) -> list[ScrapedLot]:
"""Скрейп Циан по 1к/2к/3к/4+ × N страниц — расширяет выборку.
4 комнаты × 3 страницы × ~28 = до ~330 лотов до дедупликации.

View file

@ -90,7 +90,7 @@ class N1Scraper(BaseScraper):
return lots
async def fetch_around_multi_room(
self, lat: float, lon: float, radius_m: int = 1000, pages: int = 3,
self, lat: float, lon: float, radius_m: int = 1000, pages: int = 8,
) -> list[ScrapedLot]:
"""Скрейп N1 по сегментам комнат 1/2/3/4 × N страниц — расширяет выборку."""
seen: dict[str, ScrapedLot] = {}