From 1dc817532fa182cbcd6bf50e2a0715869e36fc91 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Fri, 6 Oct 2023 11:27:13 +0200 Subject: [PATCH] Scribus: update url and regex --- modules/Scribus.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Scribus.php b/modules/Scribus.php index 68a51d9..5f42200 100644 --- a/modules/Scribus.php +++ b/modules/Scribus.php @@ -5,8 +5,8 @@ class Scribus extends PatchBase { parent::__construct('Scribus Team', 'Scribus', 'https://www.scribus.net/downloads/stable-branch/'); } function check() : bool { - if ($this->fetch('https://www.scribus.net/downloads/stable-branch/')) - return $this->parse('/Current stable release: Scribus ([\d\.]+)<\/strong>/'); + if ($this->fetch('https://www.scribus.net/downloads/')) + return $this->parse('_//sourceforge\.net/projects/scribus/files/scribus/([\d\.]+)/_'); return false; } }