Pagination not working with Page Number

I can't seem to get the pagination working on this site. Have tried all the different options in the pagination type, to no avail.
Help please...
Site map:
{"_id":"camera_pro_test_pagination","startUrl":["https://www.camerapro.com.au/digital-cameras.html?manufacturer=104%2C10%2C99%2C55%2C8%2C63%2C5%2C512"],"selectors":[{"id":"pagination","paginationType":"auto","parentSelectors":["_root","pagination"],"selector":"div.pages[data-was-processed]","type":"SelectorPagination"},{"delay":0,"id":"product_link","multiple":true,"parentSelectors":["pagination"],"selector":"strong a.product-item-link","type":"SelectorLink"},{"delay":0,"id":"SKU","multiple":false,"parentSelectors":["product_link"],"regex":"","selector":".sku div","type":"SelectorText"},{"delay":0,"id":"price","multiple":false,"parentSelectors":["product_link"],"regex":"","selector":".product-info-price-block div.price-box","type":"SelectorText"}]}

@wrighty Hi, it appears that the 'pagination' selector you have created works only in cases if the page is scrolled down. In order to fix that, update the aforementioned selector to - a[title="Next"]:nth(0)

Hope it solves the issue.

Hey @ViestursWS
Works a treat!
Thanks for the help :slight_smile: :slight_smile:

Hey @ViestursWS having a similar problem with this one. Tried your fix for the previous to no avail. Any ideas?
{"_id":"dj_cty","startUrl":["https://djcity.com.au/category/microphones/?pa_brand=Rode"],"selectors":[{"id":"pagination","paginationType":"auto","parentSelectors":["_root","pagination"],"selector":"#algolia-pagination-top li.ais-Pagination-item--page:nth-of-type(n+2) a","type":"SelectorPagination"},{"delay":0,"id":"Web_Name","multiple":true,"parentSelectors":["pagination"],"selector":"a.product-loop-link","type":"SelectorLink"}]}

@wrighty Hi. Try to update the 'pagination' selector to - li.selected-item:nth(0) + li a and change the 'Pagination Type' to 'Click multiple times on next/more button'.

Hope it helps!

Perfect :slight_smile: thanks @ViestursWS

Hi @ViestursWS I am having issues with the load more pagination for this site map. Could you please assist?

{"_id":"crestron_control_surfaces_images","startUrl":["https://www.crestron.com/Products/Control-Surfaces"],"selectors":[{"delay":0,"id":"category_link","multiple":true,"parentSelectors":["_root"],"selector":".category-listing > a","type":"SelectorLink"},{"id":"load_more","paginationType":"clickMore","parentSelectors":["category_link","load_more"],"selector":"span.btn","type":"SelectorPagination"},{"delay":0,"id":"product_link","multiple":true,"parentSelectors":["load_more"],"selector":".model-number-wrapper a","type":"SelectorLink"},{"delay":0,"id":"image_link","multiple":true,"parentSelectors":["product_link"],"selector":"a.mz-thumb","type":"SelectorLink"}]}

@wrighty Hi, it appears that the main issue might occur in the case if more results fail to appear in the 2-second timeframe.

Knowing that, currently, there's not an option to adjust the delay value for the 'pagination' selector, I would recommend using an 'Element click' selector instead.

After performing tests it seems that 3'500 second delay should be enough.

Example:

{"_id":"crestron_control_surfaces_images","startUrl":["https://www.crestron.com/Products/Control-Surfaces"],"selectors":[{"id":"category_link","parentSelectors":["_root"],"type":"SelectorLink","selector":".category-listing > a","multiple":true,"delay":0},{"id":"load_more","parentSelectors":["category_link"],"type":"SelectorElementClick","clickElementSelector":"span.btn:contains(\"Load More\")","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickMore","delay":3500,"discardInitialElements":"do-not-discard","multiple":true,"selector":"div.product-result"},{"id":"product_link","parentSelectors":["load_more"],"type":"SelectorLink","selector":".model-number-wrapper a","multiple":false,"delay":0},{"id":"image_link","parentSelectors":["product_link"],"type":"SelectorGroup","selector":"div.model-alt-images img","delay":0,"extractAttribute":"src"}]}

thanks once again @ViestursWS :slight_smile: