... | ... |
@@ -49,7 +49,6 @@ done |
49 | 49 |
echo >> "$result" |
50 | 50 |
|
51 | 51 |
last=$(wget -qO- 'http://www2.assemblee-nationale.fr/scrutins/liste/(legislature)/15/(type)/TOUS/(idDossier)/TOUS' | sed -rn 's,^.*<td class="denom">(.+)</td>.*$,\1,p' | head -1) |
52 |
-last=1 |
|
53 | 52 |
for scrutin in $(seq $last); do |
54 | 53 |
wget -qO- $tempfile "http://www2.assemblee-nationale.fr/scrutins/detail/(legislature)/15/(num)/$scrutin" > $tempfile |
55 | 54 |
|