I looking to scrape a list of business directories through numerous page, but it seems like the page url is not in sequence mode. How can I scrape the data while going to the next page? I tried with the pagination method, it didn't work.
Url: https://www.sgpbusiness.com/browse/A/
I only manage to scrape with the following sitemap:
{"_id":"company-a","startUrl":["https://www.sgpbusiness.com/browse/A/after/1118834/"],"selectors":[{"id":"company_link","type":"SelectorLink","parentSelectors":["_root"],"selector":"a.list-group-item","multiple":true,"delay":0},{"id":"wrapper","type":"SelectorElement","parentSelectors":["company_link"],"selector":"div[itemtype='https://schema.org/LocalBusiness']","multiple":false,"delay":0},{"id":"company_name","type":"SelectorText","parentSelectors":["wrapper"],"selector":"[itemprop='name'] a","multiple":false,"regex":"","delay":0},{"id":"wrapper-details","type":"SelectorElement","parentSelectors":["wrapper"],"selector":"div.list-group-item","multiple":true,"delay":0},{"id":"details","type":"SelectorText","parentSelectors":["wrapper-details"],"selector":"div.col-sm-9","multiple":true,"regex":"","delay":0}]}