Data scraping from web for custom pages UiPath RPA

620 views Asked by At

I am scraping from web (A book website), so looking for a dynamic way to extract the data from page 5 to 7, I don't know how many pages my search will have every time. It will be difficult to count the whole data. I am trying to extract from each page wise, what if the search don't have page 7 and only 6 pages then I can add an error handle which tells me there are only 6 pages available.

2

There are 2 answers

3
kwoxer On BEST ANSWER

Think simple.

  1. Select whole table.
  2. Delete first 100 (I expect 20 entries per page) rows.
  3. Done.

enter image description here

Alternativly

Start the web table via URL Parameter. For example in Google:

https://www.google.com/search?q=uipath&start=50

0
Burak Çakmak On

Dont use datascrabing auto next page feature, check next page button with element exist, and use if statement for nextpage element exist counter,

example if (nextpage not exist)then if (counter < 7) send error or alert mail