Dhuvas intergrated

This commit is contained in:
2020-08-26 14:09:25 +05:00
parent c80e1bfc7d
commit e2d5adaded
3 changed files with 93 additions and 2 deletions

View File

@@ -50,10 +50,10 @@ class DhenScraper
'date' => Carbon::parse(str_replace("- ", "", $crawler->filter('.story-item--meta time')->first()->text()))->format("Y-m-d H:i:s"),
'guid' => str_replace("https://dhen.mv/","",$url),
'author' => $this->author,
'topics' => [
'topics' => [
[
"name" => "ވަކި މަޢުލޫއެއް ނޭންގެ",
"slug" => "uncategorized"
"slug" => "no-specific-topic"
]
]
];