mirror of
https://github.com/tomasriveral/ReSSPublica.git
synced 2026-08-12 02:38:37 +02:00
other: add helper script
This commit is contained in:
Executable
+8
@@ -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
|
||||||
Reference in New Issue
Block a user