diff --git a/modules/Avidemux.php b/modules/Avidemux.php index 54085da..b605282 100644 --- a/modules/Avidemux.php +++ b/modules/Avidemux.php @@ -5,8 +5,8 @@ class Avidemux extends PatchBase { parent::__construct('Mean', 'Avidemux', 'http://avidemux.sourceforge.net/download.html'); } function check() : bool { - if ($this->fetch('http://avidemux.sourceforge.net/download.html')) - return $this->parse('/avidemux_([\d\.]+)\.tar\.gz/'); + if ($this->fetch_json('https://sourceforge.net/projects/avidemux/best_release.json')) + return $this->parse_json('filename', '/^\/avidemux\/(.+)\//'); return false; } } diff --git a/modules/Minidlna.php b/modules/Minidlna.php index 777a8c9..0a6f3a0 100644 --- a/modules/Minidlna.php +++ b/modules/Minidlna.php @@ -5,8 +5,8 @@ class Minidlna extends PatchBase { parent::__construct('Justin Maggard', 'ReadyMedia', 'https://sourceforge.net/projects/minidlna/files/'); } function check() : bool { - if ($this->fetch('https://sourceforge.net/projects/minidlna/files/latest/download')) - return $this->parse('/