Update ThiladhunScraper.php
This commit is contained in:
		| @@ -4,6 +4,7 @@ namespace App\Services\Scrapers; | ||||
|  | ||||
| use Goutte\Client; | ||||
| use Illuminate\Support\Carbon; | ||||
| use Illuminate\Support\Str; | ||||
|  | ||||
| class ThiladhunScraper | ||||
| { | ||||
| @@ -77,7 +78,7 @@ class ThiladhunScraper | ||||
|             'date'       => Carbon::parse($date)->format("Y-m-d H:i:s"), | ||||
|             'url'        => $url, | ||||
|             'author'     => $this->author, | ||||
|             'guid'       => basename($url), | ||||
|             'guid'       => (integer) Str::before(basename($url), '?'), | ||||
|             'topics'       =>  $this->topics ? : [ | ||||
|                 [ | ||||
|                     "name" => "ވަކި މަޢުލޫއެއް ނޭންގެ", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user