PatchBot/modules/Stubby.php
2020-02-07 14:05:45 +01:00

14 lines
338 B
PHP

<?php
class Stubby extends PatchBase {
function __construct() {
parent::__construct('NLnet Labs', 'Stubby', 'https://dnsprivacy.org/wiki/x/JYAT');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/getdnsapi/stubby/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>