aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/plugins/weather.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/weather.py b/src/plugins/weather.py
index 15e8573..0b6428f 100644
--- a/src/plugins/weather.py
+++ b/src/plugins/weather.py
@@ -69,7 +69,8 @@ class Weather:
station = file.read()
station = station.decode('utf-8', 'strict').split('\n')[0]
self.icao = station
- url = 'http://weather.noaa.gov/pub/data/observations/metar/decoded/%s.TXT' % station
+ #url = 'http://weather.noaa.gov/pub/data/observations/metar/decoded/%s.TXT' % station
+ url = 'http://tgftp.nws.noaa.gov/data/observations/metar/decoded/%s.TXT' % station
decoded = spawn_read('curl', url).split('\n')
# How to parse: http://www.wunderground.com/metarFAQ.asp