From e7ee21cc7326741b95f1c019ee9728d655098abd Mon Sep 17 00:00:00 2001 From: Keith Hughitt Date: Thu, 4 Aug 2016 10:16:28 -0400 Subject: [PATCH] Updated base URL for weather widget --- widgets/weather.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/weather.lua b/widgets/weather.lua index 632d5b9..e11e214 100644 --- a/widgets/weather.lua +++ b/widgets/weather.lua @@ -40,7 +40,7 @@ local function worker(format, warg) -- Get weather forceast by the station ICAO code, from: -- * US National Oceanic and Atmospheric Administration - local url = "http://weather.noaa.gov/pub/data/observations/metar/decoded/"..warg + local url = "http://tgftp.nws.noaa.gov/data/observations/metar/decoded/"..warg local f = io.popen("curl --connect-timeout 1 -fsm 3 "..helpers.shellquote(url)..".TXT") local ws = f:read("*all") f:close()