Pagination does not pass from page 60

Pagination does not pass from page 60

Url: https://www.idealista.com/venta-viviendas/madrid-madrid/?ordenado-por=fecha-publicacion-desc

Sitemap:
{"_id":"idealista","startUrl":["https://www.idealista.com/venta-viviendas/madrid-madrid/?ordenado-por=fecha-publicacion-desc"],"selectors":[{"id":"item","type":"SelectorElementScroll","selector":"div.item-info-container","parentSelectors":["pagination"],"multiple":true,"delay":0},{"id":"Dir","type":"SelectorText","selector":"a.item-link","parentSelectors":["item"],"multiple":false,"regex":"","delay":0},{"id":"pre","type":"SelectorText","selector":"div.row:nth-of-type(1) span.item-price","parentSelectors":["item"],"multiple":false,"regex":"","delay":0},{"id":"hab","type":"SelectorText","selector":"span.item-detail:nth-of-type(1)","parentSelectors":["item"],"multiple":false,"regex":"","delay":0},{"id":"metros","type":"SelectorText","selector":"span.item-detail:nth-of-type(2)","parentSelectors":["item"],"multiple":false,"regex":"","delay":0},{"id":"Planta","type":"SelectorText","selector":"span.item-detail:nth-of-type(3) small, span.item-detail:nth-of-type(3)","parentSelectors":["item"],"multiple":false,"regex":"","delay":0},{"id":"Desc","type":"SelectorText","selector":"div.item-description:nth-of-type(2) p.ellipsis","parentSelectors":["item"],"multiple":false,"regex":"","delay":0},{"id":"tel","type":"SelectorText","selector":"div.item-toolbar:nth-of-type(3) span.icon-phone","parentSelectors":["item"],"multiple":false,"regex":"","delay":0},{"id":"pagination","type":"SelectorLink","selector":"div.pagination a","parentSelectors":["_root","pagination"],"multiple":true,"delay":0}]}

Hi!

I don't know if you're noticed, but there's exactly 60 pages of results, so it won't go to page 61 just because there isn't any pages after page 60.

The website URL contains page number, so you can avoid using pagination, and use page array instead. It can be easily done using start-ending page encapsulated within brackets. Example - you have 60 pages of data, so your array would look like [1-60].

Please try this URL (replace the one you have in your Metadata):
https://www.idealista.com/venta-viviendas/madrid-madrid/pagina-[1-60].htm?ordenado-por=fecha-publicacion-desc

Don't forget to remove your pagination selector beforehand.

Thanks you iconoclast!!!!!!!!!