Apologies, I'm pretty sure this is a very very basic question...
I'm trying to scrape email and website info but it pulls "External link" text along with it. I've tried adding '#text' to the selected 'li:nth-of-type(3) a' as that's the only bit I need but no luck, I suspect I'm writing it wrong.
Url: https://www.barnet.gov.uk/directories/schools?f[0]=type%3A201&keywords=&sort_by=title&page=0
Sitemap:
{"_id":"secondary-schools","startUrl":["https://www.barnet.gov.uk/directories/schools?f[0]=type%3A201&keywords=&sort_by=title&page=[0-5]"],"selectors":[{"id":"school-details","type":"SelectorElement","parentSelectors":["_root"],"selector":"li.result","multiple":true,"delay":0},{"id":"name","type":"SelectorText","parentSelectors":["school-details"],"selector":"h2","multiple":false,"regex":"","delay":0},{"id":"address","type":"SelectorText","parentSelectors":["school-details"],"selector":"li:nth-of-type(1)","multiple":false,"regex":"","delay":0},{"id":"phone","type":"SelectorText","parentSelectors":["school-details"],"selector":"li:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"email","type":"SelectorText","parentSelectors":["school-details"],"selector":"li:nth-of-type(3) a","multiple":false,"regex":"","delay":0},{"id":"website","type":"SelectorText","parentSelectors":["school-details"],"selector":"li:nth-of-type(4) a","multiple":false,"regex":"","delay":0}]}