Hello. I try to do a data scraping on the below website to scrape product comments. There are 119 pages with 2388 comments. But there is no forward button. How can I scrape all comments from the website. Should I use any loop activities in UiPath and how can I use the loop you will advice?
Data scraping problem because of no forward button and how to use a loop like 'for each' in a data scraping
In such case, we need to move to each page manually without next link selector.
Fortunately, it seems we can easily navigate to each page using sayfa parameter in the URL.
So the following might work, for example.
Hope this helps you.
Hello Mr. Yoichi. Tank you for your help. Did you put ‘For Each’ loop in a data scraping block? Can you explain how did you put ‘For Each’ activity if it is such that?
Did you use a sequence instead of data scraping body?
Kindly note the dot on Enumerable**.**Range(… and do not use a comma
Am I doing it right using ‘sequence’?
Just do one thing: Relax
In a situation that news things are applied, an validation issue should not lead to pressure
Take your time and analyze and fix.
With @Yoichi 's approach you will construct URLs marked with page info. Thats the idea of approach.
Check where validation icons occurs and check the message
check if index variable is correctly created (here we do see 1 warning)
I pressed Ctrl+K, and wrote index. It is ok now. But there is a problem in the ‘Navigate To’ activity.
Which one should I choose?
Should I use the ‘From Start’?
I used all the identifier which is shown in the last picture. Nothing changed.
index.toString was used and should be used again.
please show variable panel, have for ach activity activated
I every time save all. It didn’t save some of activity. I have started to learn UiPath since three weeks. This is the first time it happens.
I will create them again.
Remove the output index from For Each loop activity and check it once.
The provided URL is incorrect.
If you opened any browser using Open browser or Attach browser activity then create one browser variable to it and then Pass browser variable to Navigate To activity. Else place Navigate To activity inside Attach Browser activity.
I am appreciate for your help. How should I continue now? where should I create a browser variable on ‘Open Browser Properties’?