Filius: parse webpage
This commit is contained in:
parent
6e45a3dbf9
commit
f966b1b3b7
1 changed files with 2 additions and 2 deletions
|
|
@ -5,8 +5,8 @@ class Filius extends PatchBase {
|
||||||
parent::__construct('Stefan Freischlad', 'Filius', 'https://www.lernsoftware-filius.de/Herunterladen');
|
parent::__construct('Stefan Freischlad', 'Filius', 'https://www.lernsoftware-filius.de/Herunterladen');
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch_json('https://gitlab.com/api/v4/projects/18855527/repository/tags'))
|
if ($this->fetch('https://www.lernsoftware-filius.de/Herunterladen'))
|
||||||
return $this->parse_json('name');
|
return $this->parse('_//www\.lernsoftware-filius\.de/downloads/Setup/filius-([\d\.]+)\.zip_');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue