Blender: fix regex again
This commit is contained in:
parent
83bfc66bbe
commit
7756db3c09
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/download/'))
|
if ($this->fetch('https://www.blender.org/'))
|
||||||
return $this->parse('/>Changelog for Blender ([\d\.]+[a-z]?)</');
|
return $this->parse('/>Blender ([\d\.]+)( LTS)?</');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue