Scrap Image in good quality

I want to scrap product images in good quality so I select image and the carousel but when it download the picture it's a really bad quality.

How can have I a link of this product image in good quality ? (if possible in the same raw)

I tryed a pagination on the next button and a download image but doesn't work

Sitemap:
{"_id":"testnul","startUrl":["Trent Austin Design® Hassen Abstract Area Rug in Grey / Blue & Reviews | Wayfair h1","type":"SelectorText"},{"delay":0,"id":"price","multiple":false,"parentSelectors":["_root"],"regex":"","selector":"span.pl-Box--mr-1","type":"SelectorText"},{"delay":0,"id":"desc","multiple":false,"parentSelectors":["_root"],"regex":"","selector":"div.RomanceCopy-text, h4.pl-Box--mb-2, li.BulletList-listItem","type":"SelectorText"},{"delay":0,"id":"dimension","multiple":false,"parentSelectors":["_root"],"regex":"","selector":".ProductWeightsDimensions-descriptionList h4, .ProductWeightsDimensions-descriptionList .rfeX div, .ProductWeightsDimensions-descriptionList .hqHxvW div","type":"SelectorText"},{"id":"pagin image","paginationType":"auto","parentSelectors":["_root","pagin image"],"selector":".ProductDetailImageCarousel-container .CarouselButton__NextButtonWrap-edc58d-1 button","type":"SelectorPagination"},{"delay":0,"id":"imagedl","multiple":false,"parentSelectors":["pagin image"],"selector":"img[srcset='https://secure.img1-cg.wfcdn.com/im/08538130/resize-h300-w300^compr-r85/1223/122310369/Hector+Oriental+Machine+Woven+Area+Rug+in+Cream.jpg 300w, https://secure.img1-cg.wfcdn.com/im/86474574/resize-h400-w400^compr-r85/1223/122310369/Hector+Oriental+Machine+Woven+Area+Rug+in+Cream.jpg 400w, https://secure.img1-cg.wfcdn.com/im/13480018/resize-h500-w500^compr-r85/1223/122310369/Hector+Oriental+Machine+Woven+Area+Rug+in+Cream.jpg 500w, https://secure.img1-cg.wfcdn.com/im/81532686/resize-h600-w600^compr-r85/1223/122310369/Hector+Oriental+Machine+Woven+Area+Rug+in+Cream.jpg 600w, https://secure.img1-cg.wfcdn.com/im/18421906/resize-h700-w700^compr-r85/1223/122310369/Hector+Oriental+Machine+Woven+Area+Rug+in+Cream.jpg 700w, https://secure.img1-cg.wfcdn.com/im/29393042/resize-h755-w755^compr-r85/1223/122310369/Hector+Oriental+Machine+Woven+Area+Rug+in+Cream.jpg 755w, https://secure.img1-cg.wfcdn.com/im/76590798/resize-h800-w800^compr-r85/1223/122310369/Hector+Oriental+Machine+Woven+Area+Rug+in+Cream.jpg 800w']","type":"SelectorImage"}]}

@LuiLui Hi there. You should be able to extract all of the images by using the 'Grouped' selector - li.ProductDetailImageCarousel-carouselItem img with an 'Attribute name' - src.

Example:

{"_id":"wayfair-com-image-test","startUrl":["https://www.wayfair.com/rugs/pdp/trent-austin-design-hassen-power-loom-graybluewhite-rug-w001441059.html"],"selectors":[{"extractAttribute":"src","id":"images","parentSelectors":["_root"],"selector":"li.ProductDetailImageCarousel-carouselItem img","type":"SelectorGroup"}]}

Learn more: Grouped selector | Web Scraper Documentation

1 Like

It's works ! You're insane !Thx :slight_smile: