How to scrap data with different pattern


#1

I am trying to use data scraping but the pattern is changing for the next element. how to resolve it .

Thanks
Pankaj


#2

Please provide some kind of example with your question. What is it you’re trying to scrape? What is the pattern changing to?


#3

here I am selecting first element as “Manufacturing” and the next element is the "Data Analysis


#4

Hi @pankajy

Try selecting first element “Manufacturing” and then second element “Logistics” and report back :slight_smile: (preferably with a screenshot)


#5

Thanks @loginerror, I tried it but If i am doing that , Then not getting the “Data Analysis” element


#6

From how it looks like, it is a separate element as far as the website structure is considered. I suppose it is like that because there is no number next to it which would mean it is in a different class.

Is might be that you will have to either:

  • scrap it separately with a Get Text activity and then add it to your ExtractedDataTable as new row
  • use a different method for scraping, such as Screen Scrapping

#7

Thanksfor your response @loginerror, I will try.


#8

I believe each element will be in some kind of identical html container. Try indicating that instead.

If that doesn’t work try indicating the parent element of the element you were trying to scrape. As in, the element that indicates the row with values “Manufacturing” and “Lean Manufacturing”. See if it’s possible to get both “Manufacturing” and “Lean manufacturing” together as the first element, then Logistics and Operations Management as the second. You can always do string manipulation later on.