diff --git a/plugins/weather/weather_press_ b/plugins/weather/weather_press_ index 7ce091d9..b10e3d02 100755 --- a/plugins/weather/weather_press_ +++ b/plugins/weather/weather_press_ @@ -1,11 +1,11 @@ #!/usr/bin/env python3 """ -munin US NOAA weather plugin (http://tgftp.nws.noaa.gov) +munin US NOAA weather plugin (https://tgftp.nws.noaa.gov) Draws pressure in hPa. Copy/link file as 'weather_pressure_CODE', like: weather_pressure_LOWW for Austria, Vienna. -Get the code by going to http://tgftp.nws.noaa.gov, selecting your +Get the code by going to https://tgftp.nws.noaa.gov, selecting your location, and copying the code from the address bar of your browser; should be something like CODE.html. @@ -16,7 +16,7 @@ import sys from urllib.request import urlopen import re -url = 'http://tgftp.nws.noaa.gov/data/observations/metar/decoded/%s.TXT' +url = 'https://tgftp.nws.noaa.gov/data/observations/metar/decoded/%s.TXT' re_hpa = re.compile(r'Pressure.*\((\d+) hPa\)') diff --git a/plugins/weather/weather_temp_ b/plugins/weather/weather_temp_ index d0e9c606..dd54e53f 100755 --- a/plugins/weather/weather_temp_ +++ b/plugins/weather/weather_temp_ @@ -1,11 +1,11 @@ #!/usr/bin/env python3 """ -munin US NOAA weather plugin (http://tgftp.nws.noaa.gov) +munin US NOAA weather plugin (https://tgftp.nws.noaa.gov) Draws temperature/dew point in C. Copy/link file as 'weather_temp_CODE', like: weather_temp_LOWW for Austria, Vienna. -Get the code by going to http://tgftp.nws.noaa.gov, selecting your +Get the code by going to https://tgftp.nws.noaa.gov, selecting your location, and copying the code from the address bar of your browser; should be something like CODE.html. @@ -16,7 +16,7 @@ import sys from urllib.request import urlopen import re -url = 'http://tgftp.nws.noaa.gov/data/observations/metar/decoded/%s.TXT' +url = 'https://tgftp.nws.noaa.gov/data/observations/metar/decoded/%s.TXT' re_C = re.compile(r'Temperature:.*\((-?\d+\.?\d?) C\)') re_DewC = re.compile(r'Dew.*\((-?\d+\.?\d?) C\)')