diff --git a/other/helpScripts/referendumTypeBrutforce.sh b/other/helpScripts/referendumTypeBrutforce.sh new file mode 100755 index 0000000..092f556 --- /dev/null +++ b/other/helpScripts/referendumTypeBrutforce.sh @@ -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