Home Depot Images

Below i linked the old sitemap I used, but I think Home Depot has changed some of their html and it doesnt work anymore. I just need to open the gallery and grab the images from that page. I've tried many changes but just cannot seem to get it to work. Thanks for any help on this

Url: https://www.homedepot.com/p/MOEN-Doux-M-CORE-3-Series-1-Handle-Valve-Trim-Kit-in-Matte-Black-Valve-not-Included-UTS3201BL/314331558

Sitemap:
{"_id":"homedepot3","startUrl":["https://www.homedepot.com/p/MOEN-Doux-M-CORE-3-Series-1-Handle-Valve-Trim-Kit-in-Matte-Black-Valve-not-Included-UTS3201BL/314331558"],"selectors":[{"id":"images","multiple":true,"parentSelectors":["click-gallery"],"selector":".thumbnail__wrapper img","type":"SelectorImage"},{"clickActionType":"real","clickElementSelector":".mediagallery__mainimage--clickable","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickOnce","delay":2000,"discardInitialElements":"do-not-discard","id":"click-gallery","multiple":false,"parentSelectors":["_root"],"selector":".overlay__side-content__product-images","type":"SelectorElementClick"}]}

Hi!

You can use this sitemap to get all images from thumbs:

{"_id":"homedepot","startUrl":["https://www.homedepot.com/p/MOEN-Doux-M-CORE-3-Series-1-Handle-Valve-Trim-Kit-in-Matte-Black-Valve-not-Included-UTS3201BL/314331558"],"selectors":[{"id":"images","multipleType":"singleColumnWithSeparator","parentSelectors":["_root"],"selector":"img.mediagallery__thumbnailImageFit, div.mediagallery__thumbnail img","type":"SelectorImage","version":2}]}

Replace the 100 with 1000 in the URL to get the full-size image.

thank you for the reply. This successfully gets the first picture, but ONLY the first picture. My objective is to grab all the pictures from the gallery

Not sure what is wrong on your end. The sitemap I posted gets all images:

Interesting. I copied it directly from your post. I will try to work with it, thanks

Please check if your extension is up to date:

image

Okay I see, I was using firefox, but the firefox extension isn't as up to date as the chrome version. Chrome is working correctly. Thank you for the help

1 Like