Hello,
I have made a workflow that works perfectly up until one point. The issue is clearly me. My talent ran out.
Basically I have made a JSON that has two properties: an url property that contains the link to a Pinterest image, and a filename property (parsed using js).
How can I transform the JSON in a way that it downloads the images from the url property in a Dropbox folder?
I have tried the http request component but it doesn’t have a Pinterest auth type.
I have tried converting the url to a binary file but I am not smart enough.
I am not sure that’s a question of talent, many websites make it intentionally hard to extract content from them (to get real visitors instead of bots simply downloading a file). Unfortunately, you didn’t provide example data (and I am not a Pinterest user) so I am not 100% sure how your URLs look like.
However, on a general level I think downloading multiple files and then passing them on to Dropbox could work like so (assuming you are running the most recent version of n8n):
I am afraid I don’t get any error when trying to download the example URL you have provided using n8n. Any chance you can provide an example workflow using which your problem can be reproduced?
Thank you! I could see the problem and it seems that one of the URLs you are reading is not publicly accessible. Opening https://i.pinimg.com/originals/8d/ca/63/8dca6337923e829f5ad6c22d5988de97.jpg will also result in an error outside of n8n:
PS: I have created this workflow using a recent version of n8n. You didn’t specify which version you are running, so you might need to upgrade your n8n instance before you can import my example workflow.