Warnwatter: rename scraper
This commit is contained in:
parent
874fd1e9e8
commit
cd77db8b86
1 changed files with 1 additions and 1 deletions
15
modules/WarnWetterAPK.php
Normal file
15
modules/WarnWetterAPK.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
class WarnWetterAPK 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