diff --git a/fhem/CHANGED b/fhem/CHANGED index 0a7b14e68..872c97f8c 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 72_FB_CALLMONITOR: fix reverse-search of dasschnelle.at - feature: 70_BRAVIA: command remoteControl supports 'PictureMode' - bugfix: 22_HOMEMODE: Use of uninitialized value $d in hash element minor commandref fix diff --git a/fhem/FHEM/72_FB_CALLMONITOR.pm b/fhem/FHEM/72_FB_CALLMONITOR.pm index 79b174916..2e2beab37 100755 --- a/fhem/FHEM/72_FB_CALLMONITOR.pm +++ b/fhem/FHEM/72_FB_CALLMONITOR.pm @@ -740,7 +740,7 @@ FB_CALLMONITOR_reverseSearch($$) { Log3 $name, 4, "FB_CALLMONITOR ($name) - using dasschnelle.at for reverse search of $number"; - $result = GetFileFromURL("http://www.dasschnelle.at/result/index/results?PerPage=5&pageNum=1&what=".$number."&where=&rubrik=0&bezirk=0&orderBy=Standard&mapsearch=false", 5, undef, 1); + $result = GetFileFromURL("http://www.dasschnelle.at/ergebnisse?what=".$number."&where=&rubrik=0&bezirk=0&orderBy=Standard&mapsearch=false", 5, undef, 1); if(not defined($result)) { if(AttrVal($name, "reverse-search-cache", "0") eq "1") @@ -752,11 +752,11 @@ FB_CALLMONITOR_reverseSearch($$) else { #Log 2, $result; - if($result =~ /name\s+:\s+"(.+?)",/) + if($result =~ /"name"\s*:\s*"([^"]+)",/) { $invert_match = ""; - while($result =~ /name\s+:\s+"(.+?)",/g) + while($result =~ /"name"\s*:\s*"([^"]+)",/g) { $invert_match = $1 if(length($1) > length($invert_match)); }