Updated base URL for weather widget

This commit is contained in:
Keith Hughitt 2016-08-04 10:16:28 -04:00 committed by Jörg Thalheim
parent 59841b30b4
commit e7ee21cc73
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
1 changed files with 1 additions and 1 deletions

View File

@ -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()