Showing 1 changed files with 1 additions and 1 deletions
+1 -1
analyse-votes-AN
... ...
@@ -75,7 +75,7 @@ fi
75 75
 for scrutin in $(seq $last); do
76 76
     tar -C /dev/shm -Oxf "$archive_scrutins" $scrutin > $tempfile
77 77
 
78
-    title=$(sed -rn '/Analyse du scrutin n° '$scrutin'/n; s,^.*<h3 class="president-title">(.+).</h3>,\1,p' $tempfile | sed 's/;//g; s/[ \t][ \t]+/ /g')
78
+    title=$(sed -rn '/<h1 class="">Analyse du scrutin n° '$scrutin'/n; s,^.*<h3 class="president-title">(.+).</h3>,\1,p' $tempfile | sed 's/;//g; s/[ \t][ \t]+/ /g')
79 79
     date=$(sed -rn 's,^.*<h1 class="">Analyse du scrutin n° '$scrutin'<br/>(.+) </h1>,\1,p' $tempfile)
80 80
     adoption=$(sed -rn 's,^.*<p class="annonce"><span class="annoncevote">(.+).</span></p>.*$,\1,p' $tempfile)
81 81