HTML selector is missing a piece of html code sometimes

I am trying to scrape product details from this page, everything works perfectly except image scraping. I am trying to get the HTML of the image container and then extract desired image size in excel from the HTML(there are multiple image sizes of images, I am trying to get 1000x1000 size). But HTML selector sometimes don't scrape the part of HTML which contains 1000x1000 image URLs. What I am missing? Or is there any other way to scrape 1000x1000 images for each product?

Url: Bunk Bed - Youth

Sitemap:
{"_id":"acmecorp","startUrl":["https://www.acmecorp.com/losangeles/youth/bunk-bed.html"],"selectors":[{"id":"elements","type":"SelectorElement","parentSelectors":["_root","Pagination"],"selector":"li.product","multiple":true,"delay":0},{"id":"Product Title","type":"SelectorText","parentSelectors":["elements"],"selector":"h2","multiple":false,"regex":"","delay":0},{"id":"SKU","type":"SelectorText","parentSelectors":["elements"],"selector":".product > div:nth-of-type(1)","multiple":false,"regex":"","delay":0},{"id":"Product Price","type":"SelectorText","parentSelectors":["elements"],"selector":"span.price","multiple":false,"regex":"","delay":0},{"id":"Product Link","type":"SelectorLink","parentSelectors":["elements"],"selector":"a.product-item-link","multiple":false,"delay":0},{"id":"Description","type":"SelectorText","parentSelectors":["Product Link"],"selector":"[itemprop='description']","multiple":false,"regex":"","delay":0},{"id":"Product Details","type":"SelectorText","parentSelectors":["Product Link"],"selector":"div#specs","multiple":false,"regex":"","delay":0},{"id":"Document","type":"SelectorLink","parentSelectors":["Product Link"],"selector":".item li a","multiple":false,"delay":0},{"id":"Category","type":"SelectorText","parentSelectors":["Product Link"],"selector":".category67 a","multiple":false,"regex":"","delay":0},{"id":"Image HTML","type":"SelectorHTML","parentSelectors":["Product Link"],"selector":"div.media","multiple":false,"regex":"","delay":0},{"id":"Pagination","type":"SelectorLink","parentSelectors":["_root","Pagination"],"selector":".toolbar-bottom a.next","multiple":false,"delay":0}]}

Can experts share their opinion on this?

@Faheem956
The first two product Eclipse Twin/Full/Futon Bunk Bed has the image of 600x600 size.
Do you want the HTML of image class or the link of the image?

If you want the link then it's:

{"_id":"acmecorp","startUrl":["https://www.acmecorp.com/losangeles/youth/bunk-bed.html"],"selectors":[{"id":"elements","type":"SelectorElement","parentSelectors":["_root","Pagination"],"selector":"li.product","multiple":true,"delay":0},{"id":"Product Title","type":"SelectorText","parentSelectors":["elements"],"selector":"h2","multiple":false,"regex":"","delay":0},{"id":"SKU","type":"SelectorText","parentSelectors":["elements"],"selector":".product > div:nth-of-type(1)","multiple":false,"regex":"","delay":0},{"id":"Product Price","type":"SelectorText","parentSelectors":["elements"],"selector":"span.price","multiple":false,"regex":"","delay":0},{"id":"Product Link","type":"SelectorLink","parentSelectors":["elements"],"selector":"a.product-item-link","multiple":false,"delay":0},{"id":"Description","type":"SelectorText","parentSelectors":["Product Link"],"selector":"[itemprop='description']","multiple":false,"regex":"","delay":0},{"id":"Product Details","type":"SelectorText","parentSelectors":["Product Link"],"selector":"div#specs","multiple":false,"regex":"","delay":0},{"id":"Document","type":"SelectorLink","parentSelectors":["Product Link"],"selector":".item li a","multiple":false,"delay":0},{"id":"Category","type":"SelectorText","parentSelectors":["Product Link"],"selector":".category67 a","multiple":false,"regex":"","delay":0},{"id":"Image HTML","type":"SelectorImage","parentSelectors":["Product Link"],"selector":"img.magnify-opaque","multiple":false,"delay":0},{"id":"Pagination","type":"SelectorLink","parentSelectors":["_root","Pagination"],"selector":".toolbar-bottom a.next","multiple":false,"delay":0}]}

1 Like