Hello everyone!
I have an array with multiple keywords. I need to perform data scraping from a website for each of the keyword. The selector I get from the data scraping is this-
Shampoo has to be replaced by a variable that contains the keyword. I tried using * wildcard in the place of shampoo but it hasn’t worked. What is the syntax to pass a variable in title?
@tara017
No Worries buddy you are doing good…try to execute that…
" will get converted to quot automatically with vb thats not a issue
But for variable b, assign with .trim at the end of its value to avoid unwanted space and better replace the other strings next to with *
like this
title=’ " + b + " * ’
To understand this just type title=’ " + b + " * ’ in your reply message to me in left side and see the right side the string getting converted
I did it. But when its executing, the data scraping is showing the results of the first keyword for all other keywords. For example- my array has {“shampoo”,“conditioner”,“hair oil”}. When I run it in the for loop…It throws out the same scraping results of shampoo for conditioner & hair oil as well.
This is the sample workflow without making the changes you have mentioned. I’m trying to do data scraping of all the words in the array & extract first 25 results to an excel. It’s supposed to be pretty straightforward but I’m not able to figure it out.
Buddy, i think i m unable to open the xaml in my studio, can i have the whole folder a zipped one if possible, Sorry for the inconvenience…
Its easy buddy we can solve this out @tara017
I’ve shared snippets of my workflow. The idea is pretty simple- Open browser–Navigate to flipkart–in for loop, get keywords from array–enter it in search bar–extract 25 names of the products–write to excel. Thank you so much for trying to help. I appreciate it!