Help with Nav next page automation without "Next" option

Hi,

I’m trying to scrape this page https://extranet.infarmed.pt/pmro/Publico/ListagemPublica.aspx that has no next option, only numbers… I have tried several options but non works, I always get the same results

Options I already tried:

a.pager-class
a.pager-class:not(.pager-class-selected)
a.pager-class[href*=“Pager”]
a.pager-class-selected + a.pager-class

The free option only allows 500, this page has around 4.000, If I get this receipe working I will subscribe the BUSINESS premium option, to scrape the page. Please help.

Thanks for reaching out. I’d be happy to help.

And you were close! You were correct with the “a.pager-class-selected + a.pager-class” thinking. However, the selectors are off. I took a look at the site and the following should work.

td.pager-class:has(.pager-class-selected) + td a

One other thing: this site uses Javascript for page navigation. This method is currently causing an issue with our main extension. Our developers just published an update to our Beta/Pro version that should solve this issue for most customers. You can download it here:

The Beta/Pro version is the same Data Miner extension, it’s just the version that gets the updates first. After a few weeks, the updates get released to the normal version.

So, manually copy and paste the above selector into your Next Page Selector input box under the Advanced Settings in the Pro Recipe Creator, and then you should be good to go!

Please let me know if you have any questions.