//
요즘 화제라는 명품 목걸이
//
// CAT7478 // | 추천 (8) | 조회 (268) //
//
// // // // 2024-09-16 09:52:39 //
//
//
//

//

//

 

//

 

//

전화기선 짤라서 목걸이 만들어도 위화감이 전혀 없을것같은

//

 

//

디자인이군요

//

 

//
//
//
// // //
//
// protected function getDetailSelector(array $listInfo): array { $response = $this->getMySocket()->getContent("/newboard/yamoonboard/" . $listInfo['detail_url']); return array($this->getSelector($response, getenv("yamoon.view.content.tag")), $listInfo); } //리스트 내용 // // // 졸고 있는 여군 // 6 // yeeyuu | 6 | 369 | No 89372 | 2024-09-13 // public function execute(string $board_name, string $user_id = null, ...$params): void { try { //추가옵션 $this->isDebug = in_array('debug', $params); $this->isCopy = in_array('copy', $params); $this->setBoardName($board_name); $this->login_process($user_id); //실행 $listInfos = []; if ($this->isDebug) { $listInfo = []; $listInfo['title'] = 'test_title'; $listInfo['nickname'] = 'test_name'; $listInfo['hit'] = 1; $listInfo['date'] = date("Y-m-d H:i:s"); $listInfo['detail_url'] = getenv("yamoon.view.test.url.{$this->getBoardName()}"); $listInfos[] = $listInfo; } else { $response = $this->getMySocket()->getContent(getenv("yamoon.list.url.{$this->getBoardName()}")); $this->getSelector($response, getenv("yamoon.list.tag.{$this->getBoardName()}"))->each( function (Crawler $node) use (&$listInfos): void { //title및 detail url $link_node = $node->filter(getenv("yamoon.list.item.link.tag")); $detail_url = $link_node->attr("href"); $title = $link_node->text(); //기타정보기 |로 구분되어 있어 작업 $info_node = $node->filter(getenv("yamoon.list.item.info.tag")); $infos = explode("|", $info_node->text()); $listInfos[] = ['title' => $title, 'detail_url' => $detail_url, 'nickname' => trim($infos[0]), 'hit' => trim($infos[2]), 'date' => trim($infos[4])]; } ); } if (!count($listInfos)) { throw new \Exception("Target URL이 없습니다."); } $this->list_process(intval(getenv("yamoon.list.max_limit.{$this->getBoardName()}")), $listInfos); log_message("notice", __FUNCTION__ . " 작업이 완료되었습니다."); } catch (\Exception $e) { log_message("warning", sprintf( "\n---%s 오류---\n%s\n-----------------------------------------\n", __FUNCTION__, $e->getMessage() )); } } }