mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-15 22:26:04 +00:00
changed the request url from http://api.worldweatheronline.com to http://api2.worldweatheronline.com
because of constant DDOS attack on the worldweatheronline-network for last few days git-svn-id: https://svn.fhem.de/fhem/trunk@8215 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
07ba74d510
commit
24908a56bf
@ -174,7 +174,7 @@ sub WWO_RetrieveDataDirectly($)
|
||||
my $fd = 0;
|
||||
my $days_addon = "&fx=no";
|
||||
if ($days > 0) {$days_addon = "&num_of_days=" . $days;}
|
||||
my $theurl = "http://api.worldweatheronline.com/free/v1/weather.ashx?q=" . $location . "&extra=localObsTime&format=xml" . $days_addon . "&key=" . $apikey;
|
||||
my $theurl = "http://api2.worldweatheronline.com/free/v1/weather.ashx?q=" . $location . "&extra=localObsTime&format=xml" . $days_addon . "&key=" . $apikey;
|
||||
#Debug "WWO: fecht url: $theurl";
|
||||
# my $xml = GetFileFromURL("http://free.worldweatheronline.com/feed/weather.ashx?q=" . $location . "&extra=localObsTime&format=xml" . $days_addon . "&key=" . $apikey);
|
||||
# my $xml = GetFileFromURL($theurl);
|
||||
|
Loading…
x
Reference in New Issue
Block a user