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