Add TeamViewer
This commit is contained in:
parent
4195c2716a
commit
cdccbba03a
1 changed files with 14 additions and 0 deletions
14
modules/TeamViewer.php
Normal file
14
modules/TeamViewer.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?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;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue