|
|
|
@ -68,7 +68,7 @@ module.exports = {
|
|
|
|
|
|
|
|
|
|
|
|
//start with this page, pull all the carname elements for their links
|
|
|
|
//start with this page, pull all the carname elements for their links
|
|
|
|
let links = await page.$$(selectors.listingInternalLink);
|
|
|
|
let links = await page.$$(selectors.listingInternalLink);
|
|
|
|
links = await Promise.all(links.map(async element => baseUrl + (await page.evaluate(el => el.href, element))));
|
|
|
|
links = await Promise.all(links.map(async element => (await page.evaluate(el => el.href, element))));
|
|
|
|
|
|
|
|
|
|
|
|
links = await this.filterCompletedLinks(links);
|
|
|
|
links = await this.filterCompletedLinks(links);
|
|
|
|
|
|
|
|
|
|
|
|
|