From 24908a56bf223e0c4d87044b2c1327df6c519fd0 Mon Sep 17 00:00:00 2001 From: baumrasen <> Date: Sun, 15 Mar 2015 07:32:49 +0000 Subject: [PATCH] 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 --- fhem/FHEM/59_WWO.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/59_WWO.pm b/fhem/FHEM/59_WWO.pm index 2ffc828c2..e997d4859 100644 --- a/fhem/FHEM/59_WWO.pm +++ b/fhem/FHEM/59_WWO.pm @@ -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);