diff --git a/processors/ebay.processor.js b/processors/ebay.processor.js index 29ab417..7e43a29 100644 --- a/processors/ebay.processor.js +++ b/processors/ebay.processor.js @@ -37,7 +37,9 @@ module.exports = { sources = sourcesFromThumbnailGallery; } const descriptionIframe = await page.$('#desc_ifr'); + console.log('has description iframe?', !!descriptionIframe); const descriptionUrl = await page.evaluate(el => el.getAttribute('src'), descriptionIframe) + console.log('has description URL?', descriptionUrl); await page.goto(descriptionUrl); //check the description if it has viewall button const hasViewAllButton = !!(await page.$('.thumbnail-list-wrapper > a.cgg-btn:nth-child(6)'))