Automation init...3
This commit is contained in:
parent
90f4f4b19d
commit
ae43863d20
@ -39,6 +39,9 @@ abstract class MangboardCrawler extends MyCrawler
|
||||
$baord_name = $this->_board_name;
|
||||
$boardsModel = new BoardsModel();
|
||||
$boards_entity = $boardsModel->getEntityByID($this->_board_name);
|
||||
if ($boards_entity === null) {
|
||||
throw new \Exception(__FUNCTION__ . "=>{$this->_board_name}에 해당 Board 정보가 존재하지 않습니다.");
|
||||
}
|
||||
$boardModel = new BoardModel("mb_" . $baord_name);
|
||||
$board_entity = $boardModel->createByCrawler(
|
||||
$boards_entity,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user