Avas fix
This commit is contained in:
@@ -30,6 +30,11 @@ class AvasScraper
|
||||
$this->image = $crawler->filter('figure img')->first()->attr('src');
|
||||
}
|
||||
|
||||
if($crawler->filter('.post_content p')->count() == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$crawler->filter('.post_content p')->each(function ($node) {
|
||||
$this->content[] = preg_replace("/[a-zA-Z]/","",$node->text());
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user