TeamViewer: fix HTML regex
This commit is contained in:
parent
6fec6855b9
commit
c101839661
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class TeamViewer extends PatchBase {
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://www.teamviewer.com/en/download/windows/'))
|
if ($this->fetch('https://www.teamviewer.com/en/download/windows/'))
|
||||||
return $this->parse('/<p>Current version: ([\d\.]+)<\/p>/');
|
return $this->parse('/>Current version: ([\d\.]+)<\//');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue