From a75840ebb775e18bd8d1150b486ce940e47f577d Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 13 Apr 2022 19:05:39 +0200 Subject: [PATCH] stva.sh: add filter --- stva.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stva.sh b/stva.sh index 006c4bd..929a174 100755 --- a/stva.sh +++ b/stva.sh @@ -9,7 +9,7 @@ newfile=~/.stva-new oldfile=~/.stva-cur while [ "$new_data" ]; do - new_data=$(curl -Ls https://e-schild.stva.gl.ch/?page=${i} | \ + new_data=$(curl -Ls "https://e-schild.stva.gl.ch/?page=${i}&category=1" | \ grep 'GL' | sed 's/.*GL //') if [ "$new_data" ]; then