other: add helper script

This commit is contained in:
2026-06-15 22:50:07 +02:00
parent 503520f8eb
commit 1280fda0d9
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
# 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}
do
curl "https://politics.ld.admin.ch/political-rights/referendum/typ/$i"
done