Blender: update regex

This commit is contained in:
Steffen Lange 2021-09-13 16:52:43 +02:00
parent e3136e54de
commit 654549136a

View file

@ -5,8 +5,8 @@ class Blender extends PatchBase {
parent::__construct('Blender Foundation', 'Blender', 'https://www.blender.org/download/');
}
function check() : bool {
if ($this->fetch('https://www.blender.org/'))
return $this->parse('/>Download Blender ([\d\.]+[a-z]?)</');
if ($this->fetch('https://www.blender.org/download/'))
return $this->parse('/>Changelog for Blender ([\d\.]+[a-z]?)</');
return false;
}
}