add dwl (downloader wrapper) and make use of it, fixed myextip

This commit is contained in:
fatalerrors
2026-03-10 17:45:26 +01:00
parent 9f22ed4304
commit 7e661ca2de
2 changed files with 69 additions and 11 deletions

View File

@@ -104,7 +104,7 @@ meteo()
for city in "${cities[@]}"; do
encoded=$(urlencode "$city")
curl -s "https://wttr.in/$encoded" || \
dwl "https://wttr.in/$encoded" || \
disp E "Failed fetching datas for $city."
done
}