Compare commits

..

5 commits

Author SHA1 Message Date
Steffen Lange
290f770ce8 WhatsApp: rename scraper 2026-01-15 14:23:42 +01:00
Steffen Lange
cd77db8b86 Warnwatter: rename scraper 2026-01-15 14:23:15 +01:00
Steffen Lange
874fd1e9e8 Add WhatsApp 2026-01-15 14:20:48 +01:00
Steffen Lange
47462ef3d2 Add Warnwetter 2026-01-15 14:20:01 +01:00
Steffen Lange
dbada0b235 ZeroTierOne: fix product name 2026-01-15 14:19:40 +01:00
3 changed files with 31 additions and 1 deletions

15
modules/WarnWetterAPK.php Normal file
View 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;
}
}
?>

15
modules/WhatsAppAPK.php Normal file
View file

@ -0,0 +1,15 @@
<?php
class WhatsAppAPK extends PatchBase {
function __construct() {
parent::__construct('WhatsApp LLC', 'WhatsApp', 'https://www.whatsapp.com/android');
$this->patch->setBranch('Android');
}
function check() : bool {
if ($this->fetch('https://www.whatsapp.com/android'))
return $this->parse('/\(Version ([\d\.]+)\)/');
return false;
}
}
?>

View file

@ -2,7 +2,7 @@
class ZeroTierOne extends PatchBase {
function __construct() {
parent::__construct('ZeroTier Inc.', 'ZeroTier', 'https://www.zerotier.com/download/');
parent::__construct('ZeroTier Inc.', 'ZeroTier One', 'https://www.zerotier.com/download/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/zerotier/ZeroTierOne/releases/latest'))