p='modele.html'; s=open(p,encoding='utf-8').read() # 1. propriétaires et lieux de consultation s=s.replace("const MASSIF =", """// Propriétaire des stations « de chez nous » ; 'dispo' = où l'on retrouve aussi la station (jamais Infoclimat en premier) const PROPRIO = {lans:'Station Gastinel', moucherolle:'Station Gastinel', geve:'Station Richard Gastinel', allieres:'Station Richard Gastinel', bruyeres:'Station Richard Gastinel', darbounouse:'Station Richard Gastinel', oscence:'Station Richard Gastinel'}; const DISPO = ['WeatherLink', 'ROMMA', 'Infoclimat']; function origine(id){ const s = STATIONS[id], p = PROPRIO[id]; if (p) return {titre: p, aussi: 'Aussi consultable sur ' + DISPO.join(' · ')}; const src = s.src || ''; return {titre: src ? 'Vient ' + (/^[AEIOUÉ]/i.test(src) ? "d'" : 'de ') + src : '', aussi: ''}; } const MASSIF =""",1) # 2. encadré bleu à côté du titre s=s.replace("`