Showing 1 changed files with 1 additions and 1 deletions
+1 -1
analyse-votes-AN
... ...
@@ -429,7 +429,7 @@ function save_database () {
429 429
 
430 430
 function dernier_scrutin_public () {
431 431
     wget -qO- "http://www2.assemblee-nationale.fr/scrutins/liste/(legislature)/$mandature/(type)/TOUS/(idDossier)/TOUS" \
432
-            | sed -rn 's,^.*<td class="denom">(.+)</td>.*$,\1,p' \
432
+            | sed -rn 's/^.*<td class="denom">([0-9]+)[^0-9].*$/\1/p' \
433 433
             | head -1
434 434
 }
435 435