I want to scrape the following data for all countries in the drop down list: name, address, type, website, info, certification 1, certification 2.
My sitemap doesn't seem to work. Can someone help me correct it?
Url: https://www.brewersassociation.org/directories/breweries/
Sitemap:
{"_id":"brewery","startUrl":["https://www.brewersassociation.org/directories/breweries/"],"selectors":[{"id":"item","type":"SelectorElement","selector":"div.brewery:nth-of-type(n+2)","parentSelectors":["country"],"multiple":true,"delay":0},{"id":"name","type":"SelectorText","selector":"li.name","parentSelectors":["item"],"multiple":false,"regex":"","delay":0},{"id":"address","type":"SelectorText","selector":"ul.vcard li:nth-of-type(3)","parentSelectors":["item"],"multiple":false,"regex":"","delay":0},{"id":"type","type":"SelectorText","selector":"li.brewery_type:nth-of-type(5) a","parentSelectors":["item"],"multiple":false,"regex":"","delay":0},{"id":"website","type":"SelectorText","selector":"li.url:nth-of-type(6) a","parentSelectors":["item"],"multiple":false,"regex":"","delay":0},{"id":"info","type":"SelectorText","selector":"li.ownership:nth-of-type(7) em","parentSelectors":["item"],"multiple":false,"regex":"","delay":0},{"id":"Certification 1","type":"SelectorText","selector":"img.ba","parentSelectors":["item"],"multiple":false,"regex":"","delay":0},{"id":"Certification 2","type":"SelectorText","selector":"a img.craft-seal","parentSelectors":["item"],"multiple":false,"regex":"","delay":0},{"id":"Select a country","type":"SelectorLink","selector":"li#country.dropdown a.dropdown-toggle","parentSelectors":["_root"],"multiple":false,"delay":"2000"},{"id":"country","type":"SelectorLink","selector":"li.dropdown.open li a","parentSelectors":["Select a country"],"multiple":true,"delay":"2000"}]}