Add OpenWrt

This commit is contained in:
Steffen Lange 2020-02-03 17:30:49 +01:00
parent a4570a6288
commit 24f6d73ae7

14
modules/OpenWrt.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class OpenWrt extends PatchBase {
function __construct() {
parent::__construct('OpenWrt Developers', 'OpenWrt', 'https://openwrt.org/');
}
function check() : bool {
if ($this->fetch('https://openwrt.org/start'))
return $this->parse('/<strong>Current Stable Release - OpenWrt ([\d\.]+)<\/strong>/');
return false;
}
}
?>