mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
fix(meteo): curl -L
This commit is contained in:
@@ -24,7 +24,7 @@ case ${1-} in
|
||||
mkdir -p "$(dirname "$STATIONS_FILE")"
|
||||
exec >"$STATIONS_FILE"
|
||||
|
||||
curl -fsS http://wetterstationen.meteomedia.de/ |
|
||||
curl -fsSL http://wetterstationen.meteomedia.de/ |
|
||||
jq -Rrs '
|
||||
def decodeHTML:
|
||||
gsub("ä";"ä") |
|
||||
@@ -65,7 +65,7 @@ station=$(jq -e -n \
|
||||
end
|
||||
')
|
||||
cache="/tmp/${LOGNAME}_wetter_$station.png"
|
||||
curl -sS \
|
||||
curl -sSL \
|
||||
"http://wetterstationen.meteomedia.de/messnetz/vorhersagegrafik/$station.png" \
|
||||
-o "$cache"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user