Blender: fix again

This commit is contained in:
Steffen Lange 2021-10-23 21:47:27 +02:00
parent 6888ba7fde
commit 7e20b3a0cd

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('/>Blender ([\d\.]+)( LTS)?</');
if ($this->fetch('https://www.blender.org/download/'))
return $this->parse('/Download Blender ([\d\.]+)( LTS)?/');
return false;
}
}