AdobeReader: Parsing release notes to include optional updates

This commit is contained in:
Steffen Lange 2020-01-03 11:20:29 +01:00
parent fd8773f3ec
commit 9397f6a758

View file

@ -5,8 +5,8 @@ class AdobeReader extends PatchBase {
parent::__construct('Adobe', 'Acrobat Reader DC', 'https://get.adobe.com/de/reader/');
}
function check() : bool {
if ($this->fetch('https://get.adobe.com/de/reader/'))
return $this->parse('_<strong>Version ([\d\.]+)</strong>_');
if ($this->fetch('https://www.adobe.com/devnet-docs/acrobatetk/tools/ReleaseNotesDC/index.html'))
return $this->parse('/title="([\d\.]+)/');
return false;
}
}