Newbie selector drilldown question

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}]}

There are a couple ways, but the easiest is to change the selector to Element Attribute selector and using 'href' as the value to just pull the link.

Here is the 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":"SelectorElementAttribute","parentSelectors":["school-details"],"selector":"li:nth-of-type(3) a","multiple":false,"extractAttribute":"href","delay":0},{"id":"website","type":"SelectorElementAttribute","parentSelectors":["school-details"],"selector":"li:nth-of-type(4) a","multiple":false,"extractAttribute":"href","delay":0}]}

Thank you so much. Really appreciate your taking the time to explain.
If at all possible, could you explain the less easy ways (or just post the sitemaps if easier)? Would help my troubleshooting as I'm running into similar problems trying to extract specific portions of text out of elements.