PatchBot/modules/WinSCP.php
2020-01-29 15:35:00 +01:00

14 lines
320 B
PHP

<?php
class WinSCP extends PatchBase {
function __construct() {
parent::__construct('Martin Přikryl', 'WinSCP', 'https://winscp.net/');
}
function check() : bool {
if ($this->fetch('https://winscp.net/eng/download.php'))
return $this->parse('/<h1>WinSCP ([\d\.]+) Download<\/h1>/');
return false;
}
}
?>