From 4dc2bb99b0b32fb5377525ea9b6581d36b742c23 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Fri, 16 Feb 2024 22:11:16 +0100 Subject: [PATCH] Krita: update regex --- modules/Krita.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } }