diff --git a/modules/WarnWetterAPK.php b/modules/WarnWetterAPK.php new file mode 100644 index 0000000..337773f --- /dev/null +++ b/modules/WarnWetterAPK.php @@ -0,0 +1,15 @@ +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; + } +} + +?> diff --git a/modules/WhatsAppAPK.php b/modules/WhatsAppAPK.php new file mode 100644 index 0000000..53eaee4 --- /dev/null +++ b/modules/WhatsAppAPK.php @@ -0,0 +1,15 @@ +patch->setBranch('Android'); + } + function check() : bool { + if ($this->fetch('https://www.whatsapp.com/android')) + return $this->parse('/\(Version ([\d\.]+)\)/'); + return false; + } +} + +?> diff --git a/modules/ZeroTierOne.php b/modules/ZeroTierOne.php index 3d6b656..5ad5055 100644 --- a/modules/ZeroTierOne.php +++ b/modules/ZeroTierOne.php @@ -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'))