WhatsApp: rename scraper

This commit is contained in:
Steffen Lange 2026-01-15 14:23:42 +01:00
parent cd77db8b86
commit 290f770ce8

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;
}
}
?>