Avas Crawler fixes

This commit is contained in:
2020-10-03 20:07:38 +05:00
parent d8bfdf4693
commit ee8e34e0e3
3 changed files with 25 additions and 10 deletions

View File

@@ -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;