diff --git a/code/app/task/crawler/zw630/page/NovelPage.php b/code/app/task/crawler/zw630/page/NovelPage.php index 8608ac4..678b5a1 100644 --- a/code/app/task/crawler/zw630/page/NovelPage.php +++ b/code/app/task/crawler/zw630/page/NovelPage.php @@ -102,9 +102,9 @@ class NovelPage extends BasePage $this->arrNovelInfo[$strKey] = $Item->attr('content'); }); - $this->arrNovelInfo['n_page_title'] = $this->getQueryList()->find('title')->text(); - $this->arrNovelInfo['n_page_keywords'] = $this->getQueryList()->find('meta[name="keywords"]')->attr('content'); - $this->arrNovelInfo['n_page_description'] = $this->getQueryList()->find('meta[name="description"]')->attr('content'); + // $this->arrNovelInfo['n_page_title'] = $this->getQueryList()->find('title')->text(); + // $this->arrNovelInfo['n_page_keywords'] = $this->getQueryList()->find('meta[name="keywords"]')->attr('content'); + // $this->arrNovelInfo['n_page_description'] = $this->getQueryList()->find('meta[name="description"]')->attr('content'); $this->getQueryList()->find('.first_txt')->eq(0)->find("a")->map(function ($A) { $strName = $A->text(); @@ -249,6 +249,11 @@ class NovelPage extends BasePage return $this->arrLatestChapters; } + /** + * Undocumented function + * + * @return array + */ public function getChapters(): array { if ($this->arrChapters === NULL) {