mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
fix(praesenzlehre): dont get stuck on digit separators like 1,200
This commit is contained in:
@@ -35,7 +35,7 @@ in
|
||||
|
||||
count="$(get_count)"
|
||||
|
||||
new_count="$(curl -sSL https://praesenzlehre-berlin.org/ | pup '.dk-speakout-signature-count span text{}')"
|
||||
new_count="$(curl -sSL https://praesenzlehre-berlin.org/ | pup '.dk-speakout-signature-count span text{}' | tr -dc 0-9)"
|
||||
|
||||
if [ "$new_count" -gt "$count" ]; then
|
||||
diff="$(echo "$new_count - $count" | bc)"
|
||||
|
||||
Reference in New Issue
Block a user