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/'); parent::__construct('Blender Foundation', 'Blender', 'https://www.blender.org/download/');
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://www.blender.org/')) if ($this->fetch('https://www.blender.org/download/'))
return $this->parse('/>Download Blender ([\d\.]+[a-z]?)</'); return $this->parse('/>Changelog for Blender ([\d\.]+[a-z]?)</');
return false; return false;
} }
} }