Blender: update regex
This commit is contained in:
parent
e3136e54de
commit
654549136a
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue