Update existing and thiladhun date fix

This commit is contained in:
2020-08-21 02:10:41 +05:00
parent 005f5105b9
commit be04822ce3
10 changed files with 11 additions and 13 deletions

View File

@@ -20,9 +20,7 @@ class ThiladhunService extends Client
//Looping through the articles and scraping and while scraping it creates a new instance of the scraper.
foreach ($articles as $article) {
$link = $article['link'];
$date = $article['pubDate'];
$guid = $article['guid'];
$articlesitems[] = (new ThiladhunScraper)->extract($link, $date, $guid);
$articlesitems[] = (new ThiladhunScraper)->extract($link);
}
return $articlesitems;