Replaces the 'В разработке' stub at /scrapers/yandex with a full page mirroring the Avito admin pattern, adapted for the 4 Yandex scrapers landed in PRs #453/#456/#462/#466/#467/#468 + admin endpoints from #484. Sections: - Global delay (top, highlighted) — GET/PUT /api/v1/admin/scraper-settings, one knob applies to all 4 Yandex scrapers via umbrella 'yandex' key - 1. Search around — POST /api/v1/admin/scrape with sources=['yandex'] + multi_room_yandex / deep_yandex toggles - 2. Detail — POST /api/v1/admin/scrape/yandex-detail?offer_url= (snapshot) - 3. JK Newbuilding — POST /api/v1/admin/scrape/yandex-newbuilding?slug=&id=&city= - 4. Valuation — POST /api/v1/admin/scrape/yandex-valuation?address=&offer_category=&offer_type=&page= Skipped vs Avito: city-sweep + schedule sections — no Yandex cron/sweep job exists yet (PR follow-up if needed). Defaults: EKB lat 56.84 / lon 60.605, JK Tatlin (tatlin/1592987), Uchiteley 18. TypeScript strict, reuses trade-in.css classes, TanStack Query hooks + apiFetch. ResultPanel inlined. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .dockerignore | ||
| Dockerfile | ||
| next.config.ts | ||
| package.json | ||
| tsconfig.json | ||