PatchBot/modules/Searx.php
2021-03-11 11:03:21 +01:00

14 lines
327 B
PHP

<?php
class Searx extends PatchBase {
function __construct() {
parent::__construct('Adam Tauber', 'searx', 'https://searx.github.io/searx/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/searx/searx/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>