Overpass : miroirs de repli maps.mail.ru et openstreetmap.fr (poi, env, commerces)
Panne simultanée de kumi.systems (502) et overpass-api.de (connexion refusée) le 2026-08-25 : POI et tuiles environnement bloqués. Ajout de deux miroirs vérifiés couvrant le Québec ; overpass.osm.ch écarté (extrait suisse uniquement). environment.py hérite de la liste de poi.py. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2 changed files +7 −1
modified
louka/commerces.py
+3 −1
@@ -116,7 +116,9 @@ def _fetch_brand(brand_q: str, lat: float, lng: float, | ||
| 116 | 116 | |
| 117 | 117 | |
| 118 | 118 | OVERPASS = ["https://overpass.kumi.systems/api/interpreter", |
| 119 | − "https://overpass-api.de/api/interpreter"] | |
| 119 | + "https://overpass-api.de/api/interpreter", | |
| 120 | + "https://maps.mail.ru/osm/tools/overpass/api/interpreter", | |
| 121 | + "https://overpass.openstreetmap.fr/api/interpreter"] | |
| 120 | 122 | |
| 121 | 123 | |
| 122 | 124 | def _fetch_transit(lat: float, lng: float) -> list[tuple[str, dict]]: |
modified
louka/poi.py
+4 −0
@@ -24,6 +24,10 @@ from . import db | ||
| 24 | 24 | OVERPASS_URLS = [ |
| 25 | 25 | "https://overpass.kumi.systems/api/interpreter", |
| 26 | 26 | "https://overpass-api.de/api/interpreter", |
| 27 | + # replis vérifiés couvrant le Québec (panne simultanée kumi+officiel | |
| 28 | + # constatée le 2026-08-25) ; overpass.osm.ch exclu (extrait suisse) | |
| 29 | + "https://maps.mail.ru/osm/tools/overpass/api/interpreter", | |
| 30 | + "https://overpass.openstreetmap.fr/api/interpreter", | |
| 27 | 31 | ] |
| 28 | 32 | USER_AGENT = "LouKaBot/1.0 (agregateur logements Quebec; +contact@spboucher.ai)" |
| 29 | 33 | REQUEST_DELAY = 2.0 |
| 30 | 34 | |