TeamViewer: update regex
This commit is contained in:
parent
bebdbf03a6
commit
204fafe0c2
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('/>Current version: ([\d\.]+)<\//');
|
return $this->parse('/<span data-dl-version-label>([\d\.]+)<\/span>/');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue