Data Scrape with next button

Hello,

I’ve seen a lot of questions regarding data scraping without next button.

However, I can’t understand the other explanations.

I want to data scrape the data without next button.

Can you open this link? https://www.pscpublicaccess.alabama.gov/pscpublicaccess/page/psc-searches/portal.aspx

I want to put it in excel file.

Couldn’t open the link @prititit

Hello @NIVED_NAMBIAR -

I think the website has a server where limited users can only open.

But can you teach how to data scrape without next button?

Everytime I click each pages, the url is still the same :frowning:

May I know the next button is there when we approach last page

Hello @NIVED_NAMBIAR ,

I don’t know what you mean.

Do you mean if what should be the last page?

So totally u had 4 pages in total ?

Yes, @NIVED_NAMBIAR :slight_smile:

For that use the following way

Intialise a integer variable index = 1

Use while loop with condition as index<=4

Inside it use click activity to click on page number ( change selector as dynamic so it it click next page no on every iteration

Then use datascraping activitiy to make scrapping

Make sure To amke it dyanmic too

Hope it helps you

Nived N :robot:

Happy Automation

Hello @NIVED_NAMBIAR

This is my selector in the Click Activity. The aaname is changing.

This is what I did. Should I change something?
image

image

Should I change my aaname to “PageNum”?

Hello, Can someone help me if what’s wrong with my script? Thank you

hey.xaml (48.2 KB)

Check which selector attribute is changing
And make that one dynamic

the aaname is the one changing, @NIVED_NAMBIAR.

i tried making it dynamic but it still doesnt work :frowning:

Can you change selector like this?


Find basic demo.
Regards
AnandMain.xaml (12.0 KB)

Hello @anandji05 ,

May I know what is the activity in this part?

image

image

image

Hello @anandji05

Sorry. Can I also see this part?

image

@prititit