Update PsmScraper.php
This commit is contained in:
@@ -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("<br>",$node->html());
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user