PatchBot/modules/Mitmproxy.php
2021-07-27 15:11:42 +02:00

14 lines
336 B
PHP

<?php
class Mitmproxy extends PatchBase {
function __construct() {
parent::__construct('Aldo Cortesi', 'mitmproxy', 'https://mitmproxy.org/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/mitmproxy/mitmproxy/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>