Add HandBrake

This commit is contained in:
Steffen Lange 2020-05-01 21:37:32 +02:00
parent 9c298cb14f
commit 4195c2716a

14
modules/HandBrake.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class HandBrake extends PatchBase {
function __construct() {
parent::__construct('HandBrake Team', 'HandBrake', 'https://handbrake.fr/downloads.php');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/HandBrake/HandBrake/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>