Extracting data from file URL hiRes Image [TOS]

Four Stars

Extracting data from file URL hiRes Image [TOS]

Good Morning.

 

I have a source file that contains the following data:

 

"P.when('A').register(""ImageBlockATF"", function(A){ var data = { 'colorImages': { 'initial': [{""hiRes"":""https://images-na.ssl-images-amazon.com/images/I/91LPN-ME8iL._SL1500_.jpg"",""thumb"":""https://imag..."

 

This cell contains Amazon images contained in a script through crawling Talend. How can I obtain only the data of the hiRes attributes? In the script, there are 10 attributes with this name. My intention is to extract only the high resolution images and remove all the remaining content. "hiRes" ":" "https://images-na.ssl-images-amazon.com/images/I/91LPN-ME8iL._SL1500_.jpg" I have tried with tregexfield, with tmap.

 

Thanks for your help, i don´t know if i am on right section

 

Regards!

Moderator

Re: Extracting data from file URL hiRes Image [TOS]

Hello,

Could you please let us know if this topic:https://community.talend.com/t5/Design-and-Development/Extract-Data-from-URL-in-Talend/m-p/53887

helps?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.