Files
maru-hleda-byt/byty_idnes.json
Jan Novak c2bc3f452f
All checks were successful
Build and Push / build (push) Successful in 13s
Unify server, persist ratings via API, refresh scraper data
- Replace split setup (ratings_server.py on :8081 + http.server on :8080)
  with a single combined Flask server (server.py) on :8080 that serves
  static files and the /api/ratings GET/POST endpoints
- Ratings are now persisted server-side: mapa_bytu.html loads ratings
  from GET /api/ratings on startup (API as source of truth) and POSTs
  on every change — enables cross-browser and cross-device state sharing
  while keeping localStorage as a synchronous read cache
- Dockerfile: install flask, copy server.py instead of ratings_server.py,
  expose only port 8080
- entrypoint.sh: start single server process instead of two
- Makefile: add serve / serve-debug targets for local development
- scrape_psn.py: fix log label, add --max-pages stub arg for CLI parity
- Refresh all scraped property data

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 13:51:02 +01:00

290 lines
8.6 KiB
JSON

[
{
"hash_id": "699ed0af74468ff4c2079aa1",
"name": "Prodej bytu 3+1 86 m²",
"price": 4600000,
"price_formatted": "4 600 000 Kč",
"locality": "Hynka Puce, Praha 5 - Stodůlky",
"lat": 50.049168412058556,
"lon": 14.302095927878957,
"disposition": "3+1",
"floor": 8,
"area": 86,
"building_type": "Cihlová",
"ownership": "družstevní",
"url": "https://reality.idnes.cz/detail/prodej/byt/praha-13-hynka-puce/699ed0af74468ff4c2079aa1/",
"source": "idnes",
"image": "",
"scraped_at": "2026-02-25"
},
{
"hash_id": "699ecf47513757ba150e0c74",
"name": "Prodej bytu 3+kk 83 m²",
"price": 11390000,
"price_formatted": "11 390 000 Kč",
"locality": "Kytlická, Praha 9 - Prosek",
"lat": 50.1251431182,
"lon": 14.5077027612,
"disposition": "3+kk",
"floor": 8,
"area": 83,
"building_type": "2011",
"ownership": "osobní",
"url": "https://reality.idnes.cz/detail/prodej/byt/praha-9-kytlicka/699ecf47513757ba150e0c74/",
"source": "idnes",
"image": "",
"scraped_at": "2026-02-25"
},
{
"hash_id": "699c09d25d571b3c7b026d3e",
"name": "Prodej bytu 3+kk 93 m²",
"price": 11890000,
"price_formatted": "11 890 000 Kč",
"locality": "Kříženeckého náměstí, Praha 5 - Hlubočepy",
"lat": 50.03137852,
"lon": 14.39175816,
"disposition": "3+kk",
"floor": 3,
"area": 93,
"building_type": "Cihlová",
"ownership": "osobní",
"url": "https://reality.idnes.cz/detail/prodej/byt/praha-5-krizeneckeho-namesti/699c09d25d571b3c7b026d3e/",
"source": "idnes",
"image": "",
"scraped_at": "2026-02-25"
},
{
"hash_id": "693690e98418631b48025208",
"name": "Prodej bytu 3+1 87 m²",
"price": 11323000,
"price_formatted": "11 323 000 Kč",
"locality": "Libušská, Praha 4 - Libuš",
"lat": 50.009743674736,
"lon": 14.460835345662,
"disposition": "3+1",
"floor": 2,
"area": 87,
"building_type": "Cihlová",
"ownership": "družstevní",
"url": "https://reality.idnes.cz/detail/prodej/byt/praha-12-libusska/693690e98418631b48025208/",
"source": "idnes",
"image": "",
"scraped_at": "2026-02-25"
},
{
"hash_id": "699487a84abe8029bd065570",
"name": "Prodej bytu 3+1 96 m²",
"price": 13490000,
"price_formatted": "13 490 000 Kč",
"locality": "Na Václavce, Praha 5 - Smíchov",
"lat": 50.0652882346,
"lon": 14.3931192571,
"disposition": "3+1",
"floor": 4,
"area": 96,
"building_type": "Cihlová",
"ownership": "osobní",
"url": "https://reality.idnes.cz/detail/prodej/byt/praha-5-na-vaclavce/699487a84abe8029bd065570/",
"source": "idnes",
"image": "",
"scraped_at": "2026-02-25"
},
{
"hash_id": "697c7e54d08e16f19902d777",
"name": "Prodej bytu 3+kk 76 m²",
"price": 11590040,
"price_formatted": "11 590 040 Kč",
"locality": "Žilinská, Praha 4 - Záběhlice",
"lat": 50.04710645755815,
"lon": 14.473057214055794,
"disposition": "3+kk",
"floor": 5,
"area": 76,
"building_type": "Cihlová",
"ownership": "osobní",
"url": "https://reality.idnes.cz/detail/prodej/byt/praha-4-zilinska/697c7e54d08e16f19902d777/",
"source": "idnes",
"image": "",
"scraped_at": "2026-02-25"
},
{
"hash_id": "68f5f1e873fec2e50c0cc20e",
"name": "Prodej bytu 3+kk 85 m²",
"price": 13499900,
"price_formatted": "13 499 900 Kč",
"locality": "Hořejší nábřeží, Praha 5 - Smíchov",
"lat": 50.0724036111,
"lon": 14.4103030556,
"disposition": "3+kk",
"floor": 3,
"area": 85,
"building_type": "Cihlová",
"ownership": "osobní",
"url": "https://reality.idnes.cz/detail/prodej/byt/praha-5-horejsi-nabrezi/68f5f1e873fec2e50c0cc20e/",
"source": "idnes",
"image": "",
"scraped_at": "2026-02-25"
},
{
"hash_id": "6941cf632ff10124be08ce19",
"name": "Prodej bytu 4+kk 94 m²",
"price": 13249900,
"price_formatted": "13 249 900 Kč",
"locality": "V dolině, Praha 10 - Michle",
"lat": 50.0579944444,
"lon": 14.4682905556,
"disposition": "4+kk",
"floor": 14,
"area": 94,
"building_type": "Cihlová",
"ownership": "osobní",
"url": "https://reality.idnes.cz/detail/prodej/byt/praha-10-v-doline/6941cf632ff10124be08ce19/",
"source": "idnes",
"image": "",
"scraped_at": "2026-02-25"
},
{
"hash_id": "690c2cba1c264f9f43027912",
"name": "Prodej bytu 3+kk 74 m²",
"price": 10631123,
"price_formatted": "10 631 123 Kč",
"locality": "Voskovcova, Praha 5 - Hlubočepy",
"lat": 50.0290438889,
"lon": 14.3641566667,
"disposition": "3+kk",
"floor": 6,
"area": 74,
"building_type": "Cihlová",
"ownership": "osobní",
"url": "https://reality.idnes.cz/detail/prodej/byt/praha-5-voskovcova/690c2cba1c264f9f43027912/",
"source": "idnes",
"image": "",
"scraped_at": "2026-02-25"
},
{
"hash_id": "68404b3d8178bbed020f1742",
"name": "Prodej bytu 3+kk 71 m²",
"price": 10990000,
"price_formatted": "10 990 000 Kč",
"locality": "Praha 10 - Uhříněves",
"lat": 50.026899,
"lon": 14.613713,
"disposition": "3+kk",
"floor": 5,
"area": 71,
"building_type": "Skeletová",
"ownership": "osobní",
"url": "https://reality.idnes.cz/detail/prodej/byt/praha-22/68404b3d8178bbed020f1742/",
"source": "idnes",
"image": "",
"scraped_at": "2026-02-25"
},
{
"hash_id": "6932bf9dc9442dc194054416",
"name": "Prodej bytu 3+kk 71 m²",
"price": 8100000,
"price_formatted": "8 100 000 Kč",
"locality": "Štětínská, Praha 8 - Bohnice, okres Praha",
"lat": 50.1297302,
"lon": 14.4286652,
"disposition": "3+kk",
"floor": 5,
"area": 71,
"building_type": "1974",
"ownership": "osobní",
"url": "https://reality.idnes.cz/detail/prodej/byt/praha-8-stetinska/6932bf9dc9442dc194054416/",
"source": "idnes",
"image": "",
"scraped_at": "2026-02-25"
},
{
"hash_id": "699eacc0a56ec9b4a80069b6",
"name": "Prodej bytu 3+kk 81 m²",
"price": 13000000,
"price_formatted": "13 000 000 Kč",
"locality": "Hlučkova, Praha 9 - Letňany",
"lat": 50.141739,
"lon": 14.522086,
"disposition": "3+kk",
"floor": 17,
"area": 81,
"building_type": "Smíšená",
"ownership": "osobní",
"url": "https://reality.idnes.cz/detail/prodej/byt/praha-18-hluckova/699eacc0a56ec9b4a80069b6/",
"source": "idnes",
"image": "",
"scraped_at": "2026-02-25"
},
{
"hash_id": "682b20ae5fcffc3dc8072856",
"name": "Prodej bytu 3+kk 78 m²",
"price": 12463000,
"price_formatted": "12 463 000 Kč",
"locality": "Kubelíkova, Praha 3 - Žižkov",
"lat": 50.0823325029164,
"lon": 14.451052236466976,
"disposition": "3+kk",
"floor": 5,
"area": 78,
"building_type": "Cihlová",
"ownership": "osobní",
"url": "https://reality.idnes.cz/detail/prodej/byt/praha-3-kubelikova/682b20ae5fcffc3dc8072856/",
"source": "idnes",
"image": "",
"scraped_at": "2026-02-25"
},
{
"hash_id": "68f0b7b4263df471cb050df9",
"name": "Prodej bytu 4+kk 75 m²",
"price": 10363000,
"price_formatted": "10 363 000 Kč",
"locality": "Karla Guta, Praha 10 - Uhříněves",
"lat": 50.030382258,
"lon": 14.5931238354,
"disposition": "4+kk",
"floor": 4,
"area": 75,
"building_type": "Cihlová",
"ownership": "osobní",
"url": "https://reality.idnes.cz/detail/prodej/byt/praha-22-karla-guta/68f0b7b4263df471cb050df9/",
"source": "idnes",
"image": "",
"scraped_at": "2026-02-25"
},
{
"hash_id": "695cdf5113e97880200d9e62",
"name": "Prodej bytu 3+kk 82 m²",
"price": 11133000,
"price_formatted": "11 133 000 Kč",
"locality": "K Vinoři, Praha 9 - Kbely",
"lat": 50.132835725,
"lon": 14.5613326001,
"disposition": "3+kk",
"floor": 3,
"area": 82,
"building_type": "2026",
"ownership": "osobní",
"url": "https://reality.idnes.cz/detail/prodej/byt/praha-19-k-vinori/695cdf5113e97880200d9e62/",
"source": "idnes",
"image": "",
"scraped_at": "2026-02-25"
},
{
"hash_id": "69930de7098209b20e066a6c",
"name": "Prodej bytu 3+kk 91 m²",
"price": 11000000,
"price_formatted": "11 000 000 Kč",
"locality": "Formanská, Praha 4 - Újezd u Průhonic, okres Praha",
"lat": 50.0114383,
"lon": 14.5469,
"disposition": "3+kk",
"floor": 3,
"area": 91,
"building_type": "2017",
"ownership": "osobní",
"url": "https://reality.idnes.cz/detail/prodej/byt/praha-11-formanska/69930de7098209b20e066a6c/",
"source": "idnes",
"image": "",
"scraped_at": "2026-02-25"
}
]