PatchBot/modules/SysRescCd.php

14 lines
378 B
PHP

<?php
class SysRescCd extends PatchBase {
function __construct() {
parent::__construct('Francois Dupoux', 'SystemRescueCd', 'http://www.system-rescue-cd.org/Download/');
}
function check() : bool {
if ($this->fetch('http://www.system-rescue-cd.org/Detailed-packages-list/'))
return $this->parse('/<strong>SystemRescue-([\d\.]+)<\/strong>/');
return false;
}
}
?>