Update PsmScraper.php
This commit is contained in:
@@ -27,8 +27,8 @@ class PsmScraper
|
|||||||
$this->title = $node->text();
|
$this->title = $node->text();
|
||||||
});
|
});
|
||||||
|
|
||||||
$crawler->filter('.content > p')->each(function ($node) {
|
$crawler->filter('.content p')->each(function ($node) {
|
||||||
$this->content[] = preg_replace("/[a-zA-Z]/", "", $node->text());
|
$this->content = explode("<br>",$node->html());
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user