From fd3991f8d6b29bb782ab61cc6812a897bbc82768 Mon Sep 17 00:00:00 2001 From: Jan Novak Date: Fri, 27 Feb 2026 10:44:08 +0100 Subject: [PATCH] Remove regen_map.py references from Dockerfile and README Co-Authored-By: Claude Sonnet 4.6 --- README.md | 5 ----- build/Dockerfile | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index 850b6c6..f80a326 100644 --- a/README.md +++ b/README.md @@ -83,10 +83,6 @@ Merges all `byty_*.json` files into `byty_merged.json` and generates `mapa_bytu. **Deduplication logic:** Two listings are considered duplicates if they share the same normalized street name + price + area. PSN and CityHome have priority during dedup (loaded first), so their listings are kept over duplicates from other portals. -### `regen_map.py` - -Regenerates the map from existing `byty_sreality.json` data without re-scraping. Fetches missing area values from the Sreality API, fixes URLs, and re-applies the area filter. Useful for tweaking map output after data has already been collected. - ## Interactive map (`mapa_bytu.html`) The generated map is a standalone HTML file using Leaflet.js with CARTO basemap tiles. Features: @@ -201,7 +197,6 @@ Validation targets run scrapers with `--max-pages 1 --max-properties 10` for a f ├── scrape_psn.py # PSN scraper ├── scrape_cityhome.py # CityHome scraper ├── merge_and_map.py # Merge all sources + generate final map -├── regen_map.py # Regenerate map from cached Sreality data ├── run_all.sh # Orchestrator script (runs all scrapers + merge) ├── mapa_bytu.html # Generated interactive map (output) ├── Makefile # Docker management + validation shortcuts diff --git a/build/Dockerfile b/build/Dockerfile index 541f268..b5a2b91 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -11,7 +11,7 @@ WORKDIR /app COPY scrape_and_map.py scrape_realingo.py scrape_bezrealitky.py \ scrape_idnes.py scrape_psn.py scrape_cityhome.py \ - merge_and_map.py regen_map.py generate_status.py scraper_stats.py \ + merge_and_map.py generate_status.py scraper_stats.py \ run_all.sh server.py ./ COPY build/crontab /etc/crontabs/root