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?
Grundig TM 4961 Cam Demlikli Çay Yorumları - Sayfa 2 (hepsiburada.com)
September 1, 2021, 11:54pm
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?
I tried with data scraping and sequence methods. It turned this problems. What should I do?
September 3, 2021, 10:34pm
Kindly note the dot on Enumerable**.**Range(… and do not use a comma
Now, it throw this problem?
Am I doing it right using ‘sequence’?
September 3, 2021, 11:05pm
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.
@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 put the ‘Extract Structured Data ‘P’’ into the ‘For Each’. But nothing changed.
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.
September 3, 2021, 11:27pm
index.toString was used and should be used again.
September 3, 2021, 11:44pm
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.
September 4, 2021, 1:01am
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’?
I did this project. but there is no data in the excel file still.