Resolves #1
This commit is contained in:
@@ -42,6 +42,7 @@ class DhuvasScraper
|
|||||||
$this->content[] = preg_replace("/[a-zA-Z]/", "", $node->text());
|
$this->content[] = preg_replace("/[a-zA-Z]/", "", $node->text());
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
// Normal Pattern
|
||||||
$crawler->filter('.elementor-widget-container > p')->each(function ($node) {
|
$crawler->filter('.elementor-widget-container > p')->each(function ($node) {
|
||||||
$this->content[] = preg_replace("/[a-zA-Z]/", "", $node->text());
|
$this->content[] = preg_replace("/[a-zA-Z]/", "", $node->text());
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user