mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
FB_CALLMONITOR: fixing not working company numbers reverse search for search.ch
git-svn-id: https://svn.fhem.de/fhem/trunk@7191 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
357eb6624a
commit
66286cc6b6
@ -1,5 +1,7 @@
|
||||
# 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: FB_CALLMONITOR: fixing not working company numbers
|
||||
reverse search for search.ch
|
||||
- bugfix: 70_PushNotifier repair set function (xusader)
|
||||
- bugfix: PRESENCE: fixing not working timer, when using set [...] statusRequest
|
||||
- bugfix: FB_CALLMONITOR: fixing reverse search for klicktel.de
|
||||
|
@ -486,7 +486,7 @@ FB_CALLMONITOR_reverseSearch($$)
|
||||
{
|
||||
Log3 $name, 4, "FB_CALLMONITOR ($name) - using search.ch for reverse search of $number";
|
||||
|
||||
$result = GetFileFromURL("http://tel.search.ch/?tel=".$number, 5, undef, 1);
|
||||
$result = GetFileFromURL("http://tel.search.ch/?was=".$number, 5, undef, 1);
|
||||
if(not defined($result))
|
||||
{
|
||||
if(AttrVal($name, "reverse-search-cache", "0") eq "1")
|
||||
@ -499,7 +499,7 @@ FB_CALLMONITOR_reverseSearch($$)
|
||||
else
|
||||
{
|
||||
#Log 2, $result;
|
||||
if($result =~ /<h5><a href=".*?" class="fn">(.+?)<\/a><\/h5>/)
|
||||
if($result =~ /<h5><a href=".*?" class="fn(?: org)?">(.+?)<\/a><\/h5>/)
|
||||
{
|
||||
$invert_match = $1;
|
||||
$invert_match = FB_CALLMONITOR_html2txt($invert_match);
|
||||
|
Loading…
x
Reference in New Issue
Block a user