From a03e6cc3e8032c257ed62e7b923f918fafaf77dd Mon Sep 17 00:00:00 2001 From: markusbloch <> Date: Mon, 30 Nov 2020 20:28:38 +0000 Subject: [PATCH] FB_CALLMONITOR: fix reverse search for dasoertliche.de (Forum: #96666) git-svn-id: https://svn.fhem.de/fhem/trunk@23263 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/72_FB_CALLMONITOR.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index c8d5b15fa..eab5f3ea2 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 for dasoertliche.de - bugfix: 49_SSCam: fix cannot send snaps/recs if snapTelegramTxt + snapChatTxt and no cacheType (cacheType=internal) is set - bugfix: 50_SSChatBot: fix cannot send after receiving anything diff --git a/fhem/FHEM/72_FB_CALLMONITOR.pm b/fhem/FHEM/72_FB_CALLMONITOR.pm index 7f1b2513e..f21a65463 100755 --- a/fhem/FHEM/72_FB_CALLMONITOR.pm +++ b/fhem/FHEM/72_FB_CALLMONITOR.pm @@ -810,7 +810,7 @@ FB_CALLMONITOR_reverseSearch($$) $number =~ s/^0049/0/; # remove country code Log3 $name, 4, "FB_CALLMONITOR ($name) - using dasoertliche.de for reverse search of $number"; - $result = GetFileFromURL("http://www1.dasoertliche.de/?form_name=search_inv&ph=".$number, 5, undef, 1); + $result = GetFileFromURL("https://www.dasoertliche.de/?form_name=search_inv&ph=".$number, 3, undef, 1); if(not defined($result)) { if(AttrVal($name, "reverse-search-cache", "0") eq "1") @@ -822,7 +822,7 @@ FB_CALLMONITOR_reverseSearch($$) else { #Debug($result); - if($result =~ m,(.+?),) + if($result =~ m,(.+?),) { $invert_match = $1; $invert_match = FB_CALLMONITOR_html2txt($invert_match);