Mail not showing after scraping

Mail not showing after scraping.

Url: Lecturers - Universiteti Metropolitan Tirana

Sitemap:
{"_id":"umt","startUrl":["https://umt.edu.al/en/lecturers/"],"selectors":[{"id":"profile","linkType":"linkFromHref","multiple":true,"parentSelectors":["_root"],"selector":".elementor-image-box-title a","type":"SelectorLink"},{"id":"name","multiple":false,"parentSelectors":["profile"],"regex":"","selector":"strong","type":"SelectorText"},{"id":"mail","multiple":false,"parentSelectors":["profile"],"regex":"","selector":".elementor-element-ad15806 a:nth-of-type(2)","type":"SelectorText"}]}

here is your updated sitemap:

{"_id":"umt","startUrl":["https://umt.edu.al/en/lecturers/"],"selectors":[{"id":"profile","linkType":"linkFromHref","multiple":true,"parentSelectors":["_root"],"selector":".elementor-image-box-title a","type":"SelectorLink"},{"id":"name","multiple":false,"parentSelectors":["profile"],"regex":"","selector":"strong","type":"SelectorText"},{"id":"mail","multiple":false,"parentSelectors":["profile"],"regex":"","selector":"section[data-element_type=\"section\"]:has(img.attachment-thumbnail) a:contains(\"@\")","type":"SelectorText"}]}
1 Like

Thank You for your response.

Can you please explain how to select this mail : section[data-element_type="section"]:has(img.attachment-thumbnail) a:contains("@")

I search for top section with personal data, but as far as <section... is not a unique one, I added a condition: this section contains an image of professor's picture and.... the last option is that email link should contain "@" in it... Nothing hard at all )