diff --git a/modules/AdobeReader.php b/modules/AdobeReader.php index 551feb1..75b9b0e 100644 --- a/modules/AdobeReader.php +++ b/modules/AdobeReader.php @@ -6,7 +6,7 @@ class AdobeReader extends PatchBase { } function check() : bool { if ($this->fetch('https://www.adobe.com/devnet-docs/acrobatetk/tools/ReleaseNotesDC/index.html')) - return $this->parse('/title="([\d\.]+)/'); + return $this->parse('/next: ([\d\.]+)/'); return false; } } diff --git a/modules/Arduino.php b/modules/Arduino.php index cb0262b..1eb34b7 100644 --- a/modules/Arduino.php +++ b/modules/Arduino.php @@ -6,7 +6,7 @@ class Arduino extends PatchBase { } function check() : bool { if ($this->fetch('https://www.arduino.cc/en/Main/Software')) - return $this->parse('_
[\s]*ARDUINO ([\d\.]+)[\s]*
_'); + return $this->parse('/
[\s]*ARDUINO ([\d\.]+)[\s]*<\/div>/'); return false; } } diff --git a/modules/PHP.php b/modules/PHP.php index a830d2b..68b414c 100644 --- a/modules/PHP.php +++ b/modules/PHP.php @@ -6,7 +6,7 @@ class PHP extends PatchBase { } function check() : bool { if ($this->fetch('https://www.php.net/downloads.php')) - return $this->parse('_Current Stable[\s]*PHP ([\d\.]+)_'); + return $this->parse('/Current Stable<\/span>[\s]*PHP ([\d\.]+)/'); return false; } } diff --git a/modules/VLC.php b/modules/VLC.php index db846eb..9912953 100644 --- a/modules/VLC.php +++ b/modules/VLC.php @@ -6,7 +6,7 @@ class VLC extends PatchBase { } function check() : bool { if ($this->fetch('https://www.videolan.org/vlc/download-windows.html')) - return $this->parse('_//get\.videolan\.org/vlc/([\d\.]+)/win32/vlc-[\d\.]+-win32\.exe_'); + return $this->parse('_//get\.videolan\.org/vlc/[\d\.]+/win32/vlc-([\d\.]+)-win32\.exe_'); return false; } } diff --git a/modules/Wireshark.php b/modules/Wireshark.php index e18c06b..a9bfe8e 100644 --- a/modules/Wireshark.php +++ b/modules/Wireshark.php @@ -6,7 +6,7 @@ class Wireshark extends PatchBase { } function check() : bool { if ($this->fetch('https://www.wireshark.org/download.html')) - return $this->parse('/>Stable Release \(([\d\.]+)\)/'); + return $this->parse('/Stable Release \(([\d\.]+)\)/'); return false; } }