Add humidity, wind speed/direction, and localtime to output format. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 38ad690d14ac58090ab23d2c5bf42281da352101
(DIR) parent d6f5081ba0988cd82cd00564d0e8f28360e20c68
(HTM) Author: eidolon <?>
Date: Wed, 6 Mar 2024 03:50:57 -0500
Add humidity, wind speed/direction, and localtime to output format.
Signed-off-by: Annna Robert-Houdin <annna@bitreich.org>
Diffstat:
M weather | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/weather b/weather
@@ -6,4 +6,4 @@
}
location=$(printf %s "$1" | sed 's, ,\%20,g')
-curl -sfm 10 --globoff "https://wttr.in/$location?format=%C+%t\n"
+curl -sfm 10 --globoff "https://wttr.in/$location?format=%C+%t+%h+%w+%T\n"