mirror of
https://github.com/tomasriveral/ReSSPublica.git
synced 2026-08-11 18:28:38 +02:00
other:fix helper script
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
# https://politics.ld.admin.ch/political-rights/referendum/typ/NUMBER # returns sometimes a referendum type. Gotta catch them all !
|
||||
echo "Until which number you want to check?"
|
||||
read number
|
||||
for i {0...number}
|
||||
|
||||
i=0
|
||||
while [ "$i" -le "$number" ]
|
||||
do
|
||||
curl "https://politics.ld.admin.ch/political-rights/referendum/typ/$i"
|
||||
i=$((i + 1))
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user