Avas Crawler fixes
This commit is contained in:
@@ -18,7 +18,7 @@ class AvasService
|
||||
$articlesitems = [];
|
||||
//Looping through the articles and scraping and while scraping it creates a new instance of the scraper.
|
||||
foreach ($articles as $article) {
|
||||
$articlesitems[] = (new AvasScraper)->extract($article["link"]);
|
||||
$articlesitems[] = (new AvasScraper)->extract($article["link"], $article["date"]);
|
||||
}
|
||||
|
||||
return $articlesitems;
|
||||
|
||||
Reference in New Issue
Block a user