2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

FB_CALLMONITOR: fix reverse-search regexp for 11880.com (Forum: #96666)

git-svn-id: https://svn.fhem.de/fhem/trunk@18449 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2019-01-29 19:21:50 +00:00
parent f9cf6d8776
commit a662a224e9

View File

@ -817,7 +817,7 @@ FB_CALLMONITOR_reverseSearch($$)
else
{
#Debug($result);
if($result =~ m,<h1 [^>]*itemprop="name"[^>]*>([^<]+)</h1>,)
if($result =~ m,<li\s+[^>]*class="search-result-list-item"\s+[^>]*data-name="([^"]+)",s or $result =~ m,<h\d [^>]*itemprop="name"[^>]*>([^<]+)</h\d>,)
{
$invert_match = $1;
$invert_match = FB_CALLMONITOR_html2txt($invert_match);