PatchBot/modules/OpenWrt.php
2020-02-03 17:30:49 +01:00

14 lines
341 B
PHP

<?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;
}
}
?>