Hey team,
I’m trying to scrape contact data for dental clinics in Portugal, but I’ve run into an issue: the scraping process always stops at exactly 120 contacts, no matter which search page I use.
Here’s an example of a URL I’m scraping: Pesquisa - Páginas Amarelas
And here’s the sitemap I’m using: {"_id":"PaiPTscraper","startUrl":["https://www.pai.pt/searches?search%5Bquery%5D=dentist&search%5Bne%5D=42.1541%2C-6.4969&search%5Bsw%5D=32.2099%2C-29.8597&search%5Bcenter%5D=&search%5Bmap%5D=&search%5Blocation_id%5D=1&search%5Bcategory_id%5D=&search%5Btag_id%5D=&search%5Bgroup_id%5D=&search%5Blocation_value%5D=Portugal&search%5Blocation%5D=Portugal&search%5Bopen%5D=0&search%5Bcategories%5D%5B%5D=425&search%5Border%5D=relevance"],"selectors":[{"id":"Paganation","parentSelectors":["_root","Paganation"],"paginationType":"auto","type":"SelectorPagination","selector":".next a"},{"id":"product link","parentSelectors":["Paganation"],"type":"SelectorLink","selector":"a.card-link","multiple":true,"linkType":"linkFromHref"},{"id":"address","parentSelectors":["product link"],"type":"SelectorText","selector":"li:nth-of-type(1) div","multiple":false,"regex":""},{"id":"phone","parentSelectors":["product link"],"type":"SelectorText","selector":"div.desktop","multiple":false,"regex":""},{"id":"website","parentSelectors":["product link"],"type":"SelectorLink","selector":"a[data-trackable-event='visit-webpage']","multiple":false,"linkType":"linkFromHref"},{"id":"email 1","parentSelectors":["product link"],"type":"SelectorHTML","selector":"li.listing-item:nth-of-type(4)","multiple":false,"regex":""},{"id":"email 2","parentSelectors":["product link"],"type":"SelectorText","selector":"li.listing-item:nth-of-type(5)","multiple":false,"regex":""},{"id":"Full details","parentSelectors":["product link"],"type":"SelectorHTML","selector":"ul.listing-details","multiple":false,"regex":""},{"id":"Time","parentSelectors":["product link"],"type":"SelectorText","selector":"div.not-mobile-xl","multiple":false,"regex":""}]}
Any idea how can I fix this?
Thanks in advance!


