Hi everyone, I want to scrape this link. However, there's no page number in url. How to scrap this website?
Url: https://regalkes.kemkes.go.id/info.php#home/produk/lstPenyalur
Sitemap
Thank you
Hi everyone, I want to scrape this link. However, there's no page number in url. How to scrap this website?
Url: https://regalkes.kemkes.go.id/info.php#home/produk/lstPenyalur
Sitemap
Thank you
Try this, which will paginate until the end:
{"_id":"regalkes2","startUrl":["https://regalkes.kemkes.go.id/info.php#home/produk/lstPenyalur"],"selectors":[{"id":"Paginator","paginationType":"clickMore","parentSelectors":["_root","Paginator"],"selector":"div.widget-content:not(:contains('Menampilkan 41 - 50')) table span.right > a[title='Next']","type":"SelectorPagination"},{"clickActionType":"real","clickElementSelector":"tbody th[width]","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":1000,"discardInitialElements":"do-not-discard","id":"Delay 1s","multiple":false,"parentSelectors":["Paginator"],"selector":"tbody th[width]","type":"SelectorElementClick"},{"id":"Results block","multiple":false,"parentSelectors":["Paginator"],"selector":"div.widget-content span table","type":"SelectorElement"},{"id":"Result rows","multiple":true,"parentSelectors":["Results block"],"selector":"tr[urldetil]","type":"SelectorElement"},{"id":"Nama","multiple":false,"parentSelectors":["Result rows"],"regex":"","selector":"td:nth-of-type(2) b","type":"SelectorText"},{"id":"Alamat1","multiple":false,"parentSelectors":["Result rows"],"regex":"","selector":"td:nth-of-type(2) div:nth-of-type(1)","type":"SelectorText"},{"id":"Alamat2","multiple":false,"parentSelectors":["Result rows"],"regex":"","selector":"td:nth-of-type(2) div:nth-of-type(2)","type":"SelectorText"},{"id":"No Sertifikat","multiple":false,"parentSelectors":["Result rows"],"regex":"","selector":"td:nth-of-type(3) b","type":"SelectorText"},{"id":"Terbit","multiple":false,"parentSelectors":["Result rows"],"regex":"","selector":"td:nth-of-type(3) div:contains('Terbit')","type":"SelectorText"},{"id":"Jenis Alkes","multiple":false,"parentSelectors":["Result rows"],"regex":"","selector":"td:nth-of-type(4)","type":"SelectorText"},{"id":"Penanggung Jawab Teknis","multiple":false,"parentSelectors":["Result rows"],"regex":"","selector":"td:nth-of-type(5)","type":"SelectorText"}]}
Tip: You can make your scraping much faster by setting the rows to 100 per page before you start WS.
