Update existing and thiladhun date fix
This commit is contained in:
@@ -33,7 +33,7 @@ class ThiladhunScraper
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function extract($url, $date = null, $guid = null)
|
||||
public function extract($url)
|
||||
{
|
||||
$this->guid = str_replace('https://thiladhun.com/', '', $url);
|
||||
|
||||
@@ -63,7 +63,7 @@ class ThiladhunScraper
|
||||
'og_title' => str_replace(" | Thiladhun", "", $crawler->filter('title')->first()->text('content')),
|
||||
'image' => $this->image,
|
||||
'content' => $this->content,
|
||||
'date' => $date,
|
||||
'date' => $crawler->filter('.entry-meta time')->attr('datetime'),
|
||||
'url' => $url,
|
||||
'author' => $this->author,
|
||||
'guid' => $this->guid,
|
||||
|
||||
Reference in New Issue
Block a user