feat(tradein): пагинация Циан/N1 3→8 страниц #381

Merged
lekss361 merged 1 commit from feat/tradein-deep-pagination into main 2026-05-21 11:34:46 +00:00
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] = {}