This commit is contained in:
2020-10-02 02:57:10 +05:00
parent 9aa8cf29a7
commit adab915ff8

View File

@@ -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());
}); });