Pagination without specific class

Hello,
I'm trying to scrap a website with 5 pages. But the next button has not specific class and the scrap displays only products from the first page. Or, following my settings, I get an error.
img-html-pagination

And a last test sitemap :slight_smile: {"_id":"tsume-art","startUrl":["https://www.tsume-art.com/shop"],"selectors":[{"id":"pages produits","multiple":true,"parentSelectors":["_root","navigation"],"selector":"h6.o_wsale_products_item_title a","type":"SelectorLink"},{"id":"Titre","multiple":false,"parentSelectors":["pages produits"],"regex":"","selector":"section.row, .content-title-top-freezer-texte-edition p, h1","type":"SelectorText"},{"id":"resume","multiple":false,"parentSelectors":["pages produits"],"regex":"","selector":".content-title-top-freezer-texte-edition p","type":"SelectorText"},{"id":"prix-ht","multiple":false,"parentSelectors":["pages produits"],"regex":"","selector":".oe_price span","type":"SelectorText"},{"extractAttribute":"","id":"descr-longue","parentSelectors":["pages produits"],"selector":".s_allow_columns p","type":"SelectorGroup"},{"id":"Caracteristiques","multiple":false,"parentSelectors":["pages produits"],"regex":"","selector":".manon-toujours-relou-inner-pencher-table-1-inner div:nth-of-type(2)","type":"SelectorText"},{"id":"Matiere","multiple":false,"parentSelectors":["pages produits"],"regex":"","selector":"div.manon-texte-2","type":"SelectorText"},{"id":"edition-limitee","multiple":false,"parentSelectors":["pages produits"],"regex":"","selector":"div.manon-texte-4","type":"SelectorText"},{"extractAttribute":"src","id":"Images","parentSelectors":["pages produits"],"selector":".swiper-wrapper img","type":"SelectorGroup"},{"id":"Dispo","multiple":false,"parentSelectors":["pages produits"],"regex":"","selector":"div.availability_message_1029","type":"SelectorText"},{"extractAttribute":"","id":"autres-caract","parentSelectors":["pages produits"],"selector":".justify-content-center span, .col-sm-3 div","type":"SelectorGroup"},{"id":"navigation","paginationType":"clickOnce","parentSelectors":["_root","navigation"],"selector":"..page-item:nth-of-type(+3) a","type":"SelectorPagination"}]}

In the better case, it browse browse only one page and display error : * ACCESSING_UNDEFINED_ELEMENT 22 probably page was reloaded at getText with [22]

I can't list here all the tests I've done but nothing works :slightly_frowning_face:

Do you have an idea for me ?

Thanks a lot !!

If I put .page-item:nth-of-type(7), it tells me that there are 2 selected items while it highlights the button to go to the next page.
If I just put .page-item, it tells that there are 14 selected items but there are only 5 pages and 2 links to previous or next page. So I don't understand ...

Finally, I think to have found how to do : for the pagination selector, I put this
.page-item:not(.disabled) a:contains(Suivant)
Because the text of the Next button is "Suivant". And when we are on the first page, the class of the previous button is .disabled
And the scrap works :wink:

For a simple scrape like this, you could have just added the pages manually and you would not need a paginator:


https://www.tsume-art.com/en/shop/page/6
https://www.tsume-art.com/en/shop/page/5
https://www.tsume-art.com/en/shop/page/4
https://www.tsume-art.com/en/shop/page/3
https://www.tsume-art.com/en/shop/page/2
https://www.tsume-art.com/en/shop