From e1e901c1b2e7b821ef10c8c0622b8ae7094a7518 Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 6 Feb 2019 03:39:36 +0000 Subject: Weather plugin: station URL updated to https But, since simpleHTTP doesn't support HTTPS, the plugin only works when one compiles with `with_counduit`, which brings in an insane number of new deps. See #378 --- src/Xmobar/Plugins/Monitors/Weather.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Xmobar/Plugins') diff --git a/src/Xmobar/Plugins/Monitors/Weather.hs b/src/Xmobar/Plugins/Monitors/Weather.hs index cb5bf07..48f48fd 100644 --- a/src/Xmobar/Plugins/Monitors/Weather.hs +++ b/src/Xmobar/Plugins/Monitors/Weather.hs @@ -183,8 +183,7 @@ parseData = return [WI st ss y m d h w v sk tC tF dC dF rh p] defUrl :: String --- "http://weather.noaa.gov/pub/data/observations/metar/decoded/" -defUrl = "http://tgftp.nws.noaa.gov/data/observations/metar/decoded/" +defUrl = "https://tgftp.nws.noaa.gov/data/observations/metar/decoded/" stationUrl :: String -> String stationUrl station = defUrl ++ station ++ ".TXT" -- cgit v1.2.3