mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 20:44:56 +00:00
update uri to get NOAA METAR data (#325)
This commit is contained in:
parent
774afe202b
commit
397a0e4581
@ -863,7 +863,7 @@ static int process_weather_uri(char *uri, char *locID, int dayf UNUSED_ATTR)
|
||||
}
|
||||
} else
|
||||
#endif /* BUILD_WEATHER_XOAP */
|
||||
if (strstr(uri, "weather.noaa.gov")) {
|
||||
if (strstr(uri, "tgftp.nws.noaa.gov")) {
|
||||
strcat(uri, locID);
|
||||
strcat(uri, ".TXT");
|
||||
} else if (!strstr(uri, "localhost") && !strstr(uri, "127.0.0.1")) {
|
||||
|
Loading…
Reference in New Issue
Block a user