Add Warnwetter
This commit is contained in:
parent
dbada0b235
commit
47462ef3d2
1 changed files with 15 additions and 0 deletions
15
modules/WarnWetter.php
Normal file
15
modules/WarnWetter.php
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class WarnWetter extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Deutscher Wetterdienst', 'WarnWetter', 'https://www.dwd.de/DE/leistungen/warnwetterapp/apk/download_apk_android5_x.html');
|
||||||
|
$this->patch->setBranch('Android');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch('https://www.dwd.de/DE/leistungen/warnwetterapp/apk/download_apk_android5_x.html'))
|
||||||
|
return $this->parse('/\(apk - ([\d\.]+)\)/');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue