From 1280fda0d9e8f422cf6f3c06ae349d56111d83ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Rivera?= Date: Mon, 15 Jun 2026 22:50:07 +0200 Subject: [PATCH] other: add helper script --- other/helpScripts/referendumTypeBrutforce.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 other/helpScripts/referendumTypeBrutforce.sh 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