array( 'name' => 'Novel name as found in the url', 'exampleValue' => 'spirit-realm', 'required' => true ) )); private $seriesTitle = ''; public function getURI(){ if(!is_null($this->getInput('n'))){ return static::URI . '/series/' . $this->getInput('n') . '/'; } return parent::getURI(); } public function collectData(){ $fullhtml = getSimpleHTMLDOM($this->getURI()) or returnServerError('Could not request NovelUpdates, novel "' . $this->getInput('n') . '" not found'); $this->seriesTitle = $fullhtml->find('h4.seriestitle', 0)->plaintext; // dirty fix for nasty simpledom bug: https://github.com/sebsauvage/rss-bridge/issues/259 // forcefully removes tbody $html = $fullhtml->find('table#myTable', 0)->innertext; $html = stristr($html, '
'); //strip thead $html = stristr($html, '