Hi All , I’m doing some examples on datascraping, while doing i have stuck with middle.
mine example is like i’m fetching data from flipkart based on mobile suppose. i have to fetch the mobile information based on user input .if i give input as redmi it has to fetch based on redmi or if give samsung based on samsung it has to fetch.
By using dynamic selectors can i fetch data based on user input for data scrapping is it possible? if yes please give some idea. i have tried on it but i couldnt find solution.
yah of course its possible
–we can get the user input with INPUT DIALOG BOX activity and get the output with a variable of type string named str_input
–then use a open browser activity and mention the url of flipkart
–inside the open broswer container use a type into activity and pass the input as str_input in the seach bar of flipkart
–then we can use DATA SCRAPPING METHOD to scrap the fields we want
but make sure that the selector having dynamic attribute value is replaced with wildcards *
this would work for sure
kindly try this and let know for any queries or clarification
i will try now if i stuck with some data , i will post here please help me @Palaniyappan