diff --git a/app/Services/Scrapers/PsmScraper.php b/app/Services/Scrapers/PsmScraper.php index 24657da..9809f50 100644 --- a/app/Services/Scrapers/PsmScraper.php +++ b/app/Services/Scrapers/PsmScraper.php @@ -27,8 +27,8 @@ class PsmScraper $this->title = $node->text(); }); - $crawler->filter('.content > p')->each(function ($node) { - $this->content[] = preg_replace("/[a-zA-Z]/", "", $node->text()); + $crawler->filter('.content p')->each(function ($node) { + $this->content = explode("
",$node->html()); });