Krita: fix HTML regex
This commit is contained in:
parent
97ef3a2bd5
commit
d69f911ffb
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class Krita extends PatchBase {
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://krita.org/en/download/krita-desktop/'))
|
if ($this->fetch('https://krita.org/en/download/krita-desktop/'))
|
||||||
return $this->parse('/<h3>Download Krita\s+([\d\.]+)<\/h3>/');
|
return $this->parse('/>Download Krita\s+([\d\.]+)<\/h3>/');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue