diff options
author | Mattias Andrée <maandree@kth.se> | 2019-02-05 22:08:39 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-02-05 22:08:39 +0100 |
commit | 6f84cda12a4c9a1b936a18d921a9de35b0d9352a (patch) | |
tree | 4b86e6ea3b2ff64376cfcbe0e85c0a98742a4ef7 /src/plugins | |
parent | Update for Python 3.7 (broke syntax backwards compatibility) and update year and email (diff) | |
download | xpybar-6f84cda12a4c9a1b936a18d921a9de35b0d9352a.tar.gz xpybar-6f84cda12a4c9a1b936a18d921a9de35b0d9352a.tar.bz2 xpybar-6f84cda12a4c9a1b936a18d921a9de35b0d9352a.tar.xz |
Update METAR url
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/weather.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/weather.py b/src/plugins/weather.py index 3b69ff0..60b7456 100644 --- a/src/plugins/weather.py +++ b/src/plugins/weather.py @@ -72,7 +72,7 @@ class Weather: 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://tgftp.nws.noaa.gov/data/observations/metar/decoded/%s.TXT' % station + url = 'https://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 |