How to extract an image URL from RSS Feed, using Text Parser? (Rookie here in need of assistance)

Hi all,

First time user here, and just stepping into the world of automation. Looking to be able to extract an image URL from my Etsy shop RSS feed, via Text Parser, in order to create a photo post on Instagram.

Example test string:

<img src=“https://i.etsystatic.com/50991663/r/il/dd21f9/5845721064/il_570xN.5845721064_lot1.jpg” border=“0”

I found this on another post, and it seems to be extracting the URL using Text Parser:

([a-z-_0-9/:.]*.(jpg|jpeg|png|gif))

Would love some advice on whether this is an appropriate expression or not.
My next issue is when I run this with Text Parser it doesn’t seem to produce an output.

I would really appreciate any words of wisdom and advice on what I’m doing wrong, and ways to move forward from here.

Much appreciated.

As you can see, the regex pattern you copied is not suitable for your sample text.

https://regex101.com/r/TOHdGZ

Instead use something like this:

src="(?<url>[^"]+?)"

Proof: https://regex101.com/r/KmmPJZ

3 Likes

Many blessings!!! Thank you @samliew. Works perfectly.

Furthermore. In my RSS feed from Etsy, let’s say I have 10 products, (I usually create 8 to 10 products at a time), and I want to drip feed the new product announcements to my socials, say one post a day showcasing a new product.

What modules or settings would be required to achieve this? Would I need an aggregator to get this happening?

How can I set the watch RSS feed to skip to the next dataset in line?

You can set the Bundle Limit to 1 in the RSS settings.

3 Likes

When I set it to 1 in the RSS settings, and run the workflow the next day, will it automatically jump to the next item in the RSS feed?

Oh, in that case you’ll want to use the Get Feed Items module instead.

Screenshot_2024-03-17_140313

3 Likes

Thanks again @samliew. I will check this module out. Currently going through the Academy courses to get a better grasp on the platform.

3 Likes