Fix thiladhun scraper
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace App\Services\Scrapers;
|
||||
|
||||
use Goutte\Client;
|
||||
use Illuminate\Support\Carbon;
|
||||
|
||||
class ThiladhunScraper
|
||||
{
|
||||
@@ -73,7 +74,7 @@ class ThiladhunScraper
|
||||
'og_title' => str_replace(" | Thiladhun", "", $crawler->filter('title')->first()->text('content')),
|
||||
'image' => $this->image,
|
||||
'content' => $this->content,
|
||||
'date' => $date,
|
||||
'date' => Carbon::parse($date)->format("Y-m-d H:i:s"),
|
||||
'url' => $url,
|
||||
'author' => $this->author,
|
||||
'guid' => basename($url),
|
||||
|
||||
Reference in New Issue
Block a user