diff --git a/modules/Octave.php b/modules/Octave.php index ad2af0a..1421f75 100644 --- a/modules/Octave.php +++ b/modules/Octave.php @@ -2,11 +2,11 @@ class Octave extends PatchBase { function __construct() { - parent::__construct('John W. Eaton', 'GNU Octave', 'https://www.gnu.org/software/octave/download'); + parent::__construct('John W. Eaton', 'GNU Octave', 'https://octave.org/download'); } function check() : bool { - if ($this->fetch('https://www.gnu.org/software/octave/download')) - return $this->parse('_//ftpmirror\.gnu\.org/octave/windows/octave-([\d\.]+)-w64-installer\.exe_'); + if ($this->fetch('https://octave.org/download')) + return $this->parse('/GNU Octave ([\d\.]+)<\/strong>/'); return false; } }