14 lines
351 B
PHP
14 lines
351 B
PHP
<?php
|
|
|
|
class Krita extends PatchBase {
|
|
function __construct() {
|
|
parent::__construct('Krita Foundation', 'Krita', 'https://krita.org/en/download/krita-desktop/');
|
|
}
|
|
function check() : bool {
|
|
if ($this->fetch('https://krita.org/en/download/krita-desktop/'))
|
|
return $this->parse('/>Download Krita\s+([\d\.]+)<\/h3>/');
|
|
return false;
|
|
}
|
|
}
|
|
|
|
?>
|