stva.sh: add filter

This commit is contained in:
Nico Schottelius 2022-04-13 19:05:39 +02:00
parent 72fa4f22d0
commit a75840ebb7
1 changed files with 1 additions and 1 deletions

View File

@ -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 '<td>GL' | sed 's/.*<td>GL //')
if [ "$new_data" ]; then