Krita: fix HTML regex

This commit is contained in:
Steffen Lange 2021-05-09 14:45:55 +02:00
parent 97ef3a2bd5
commit d69f911ffb

View file

@ -6,7 +6,7 @@ class Krita extends PatchBase {
}
function check() : bool {
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;
}
}