PatchBot/modules/TeamViewer.php
2020-05-02 19:36:13 +02:00

14 lines
367 B
PHP

<?php
class TeamViewer extends PatchBase {
function __construct() {
parent::__construct('TeamViewer', 'TeamViewer', 'https://www.teamviewer.com/en/download/windows/');
}
function check() : bool {
if ($this->fetch('https://www.teamviewer.com/en/download/windows/'))
return $this->parse('/<div class="wpb_wrapper">[\s]*([\d\.]+)/');
return false;
}
}
?>