Download images via URL

Hi,

Im trying to find a topic that covers this topic already but could not find it exactly.

I have public static links where only the article and/or image nrs change which I would like to automatically download/save to a location if I would provide a list to Easymorph.

For example
https://edge.dis.commercecloud.salesforce.com/dw/image/v2/BDTC_PRD/on/demandware.static/-/Sites-pim-catalog/default/pim-static/JJ/12159030/12159030_BlackDenim_001.jpg

https://edge.dis.commercecloud.salesforce.com/dw/image/v2/BDTC_PRD/on/demandware.static/-/Sites-pim-catalog/default/pim-static/JJ/12159030/12159030_BlackDenim_002.jpg

Is there a way that if I can generate a list of urls that Easymorph can save the images to somewhere?

thanks!

Hello Wouter and welcome to the Community!

If you already have a list of URLs to download, you can use the “Download file” action and iterations to download the files (images) in a loop.

Here is an example:

download-images.morph (4.6 KB)

If you need to parse a static website, this is also possible.
A sample project can be found here.

Hi both,

Very sorry I never got back, personal matters and annual leave got in the way.
Either way, much appreciate the suggestions and I'll see what can work for us.

Thanks again!

Wouter

1 Like