14 lines
320 B
PHP
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;
|
|
}
|
|
}
|
|
|
|
?>
|