diff --git a/modules/Krita.php b/modules/Krita.php index 1f63159..0ce9d0c 100644 --- a/modules/Krita.php +++ b/modules/Krita.php @@ -2,11 +2,11 @@ class Krita extends PatchBase { function __construct() { - parent::__construct('Krita Foundation', 'Krita', 'https://krita.org/en/download/krita-desktop/'); + parent::__construct('Krita Foundation', 'Krita', 'https://krita.org/en/download/'); } function check() : bool { - if ($this->fetch('https://krita.org/en/download/krita-desktop/')) - return $this->parse('/>Download Krita\s+([\d\.]+)<\/h3>/'); + if ($this->fetch('https://krita.org/en/download/')) + return $this->parse('/>Download Krita\s+([\d\.]+)<\/h1>/'); return false; } }