Add searx

This commit is contained in:
Steffen Lange 2021-03-11 11:03:21 +01:00
parent e118f1e4f2
commit 1bb780778a

14
modules/Searx.php Normal file
View file

@ -0,0 +1,14 @@
<?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;
}
}
?>