Meta data and article resources in topic,source

This commit is contained in:
2020-08-10 19:12:28 +05:00
parent ab1f003a6d
commit 51076aca33
4 changed files with 6 additions and 2 deletions

View File

@@ -63,6 +63,7 @@ class MihaaruScraper
$data = [
'source' => 'Mihaaru',
'title' => $this->title,
'og_title' => $crawler->filter('meta[property*="og:title"]')->first()->attr('content'),
'image' => $this->image,
'content' => $this->content,
'url' => $url,