Add ROOM_SLUGS constant, _build_citywide_url/_build_rooms_url methods, and fetch_city_wide/fetch_by_rooms public methods to AvitoScraper. Citywide mode removes geoCoords/radius; byrooms mode splits by 7 room categories to bypass Avito 5000-result cap. Both reuse existing _fetch_serp_html anti-block pipeline (firewall detect, IP rotation, transient retries). fetch_around unchanged. |
||
|---|---|---|
| .. | ||
| app | ||
| data/sql | ||
| scripts | ||
| tests | ||
| .dockerignore | ||
| Dockerfile | ||
| pyproject.toml | ||