I am trying to scrape data from a web page that doesn’t have a next button and this inhibits me from navigating to the next page. I did the following but it still doesn’t work:
1 Process scrapes first page and saves in a csv file, 2 checks if element (page 2 button) exists - using a while loop, if it does it then clicks that page number and then scrapes the data again, saves in the same csv file.
But i noticed not all data is scraped and even the ones that are saved are from different pages.
How do i solve this issue please? I attached the link to the website i’m scraping from
In the data scraping wizard, have checked the option that specifies the row limit? By default it’s set to 100. Make it to 0 so that it will extract all records in that page?
Yes, i increased the number to 900 but the issue is that its nit scraping the date from other pages and adding to the data gotten from the first page. Here’s my xaml file ~~~Main.xaml (199.8 KB)
Hello @Olaoluwa do not keep write range activity inside the loop… keep it at the end…
extract data activity will automatically gonna append the data in datatable…
if you log the number of rows in ExtractedDatatable… in first loop you might see there are 50 rows… in second loop you will see number of rows have increased to 100… in third loop rows count will be 150 etc…
Hi Akshay,
Thanks for your prompt reply. I logged the rows.count but it gave the same number -10, for each page, i dont think the data scraping is adding the scraped results to the previous data scraped. Can you please look through my workflow again?