This commit is contained in:
2021-06-10 00:40:01 +05:00
parent 720d5d5fce
commit 7086227a98
2 changed files with 4 additions and 3 deletions

View File

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