Hello,
I'm having issues with pagination for a certain website that I'm trying to scrape information from. The data comes out fine but I can't seem to get the pagination working. I have tried a bunch of different approaches but haven't had any luck. I have been successful on other websites including the https://webscraper.io/ test sites but don't understand how to do it for the website below.
The website I'm trying with is as follows:
Url: Puben
The last tried sitemap I have used:
Sitemap:
{"_id":"trafikverket-puben-2","startUrl":["https://puben.trafikverket.se/dpub/sok"],"selectors":[{"id":"pagination","paginationType":"auto","parentSelectors":["_root","pagination"],"selector":"button.ng-star-inserted:nth-of-type(n+3)","type":"SelectorPagination"},{"delay":0,"id":"document","multiple":true,"parentSelectors":["pagination"],"selector":".text-medium a","type":"SelectorLink"},{"delay":0,"id":"nedladdningslänk","multiple":true,"parentSelectors":["document"],"selector":"div:nth-of-type(n+10) div:nth-of-type(n+2) a","type":"SelectorLink"},{"delay":0,"id":"ämnesområde","multiple":false,"parentSelectors":["document"],"regex":"","selector":"div:nth-of-type(4) div","type":"SelectorText"},{"delay":0,"id":"titel","multiple":false,"parentSelectors":["document"],"regex":"","selector":".col > div > div:nth-of-type(1) div","type":"SelectorText"},{"delay":0,"id":"nummer","multiple":false,"parentSelectors":["document"],"regex":"","selector":"h1","type":"SelectorText"}]}
