I have tried looking this up, but have not been able to find this exact same use case.
I am trying to scrape from this site. When you click on the business, a popup overlay comes up on the screen. I need to figure out how to get all of the information from each popup for all businesses on the site.
URL: Native Home Services Directory | Native Owned
Here is my sitemap attempt, but its not working at all.
Sitemap:
{"_id":"NativeOwnedHomeServices","startUrl":["https://nativeowned.com/home-services/"],"selectors":[{"id":"Businesses","multiple":true,"parentSelectors":["_root"],"selector":"[dialogbox] div#cbeb-view-entry-modal-field-container","type":"SelectorElement"},{"id":"Bio","multiple":false,"parentSelectors":["Businesses"],"regex":"","selector":"div","type":"SelectorText"},{"id":"Type","multiple":false,"parentSelectors":["Businesses"],"regex":"","selector":"div.cbeb-entry-tag:nth-of-type(n+2)","type":"SelectorText"},{"id":"Phone","multiple":false,"parentSelectors":["Businesses"],"regex":"","selector":"[field-key='phone'] div","type":"SelectorText"},{"id":"Email","multiple":false,"parentSelectors":["Businesses"],"regex":"","selector":"[field='email'] a","type":"SelectorText"},{"id":"Address","multiple":false,"parentSelectors":["Businesses"],"regex":"","selector":".cbeb-center p","type":"SelectorText"},{"id":"WebLink","multiple":false,"parentSelectors":["Businesses"],"regex":"","selector":".cbeb-entry-view a[target]","type":"SelectorText"},{"id":"Facebook","multiple":false,"parentSelectors":["Businesses"],"regex":"","selector":"div[space-evenly]","type":"SelectorText"}]}
Any help or ideas is greatly appreciated. Thank you