TeamViewer: update regex

This commit is contained in:
Steffen Lange 2023-07-08 10:47:48 +02:00
parent bebdbf03a6
commit 204fafe0c2

View file

@ -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;
} }
} }