What ts the way for selecting email and phone from each profile

In those profile email and phone are different position for different profile how to develop code or select email and phone from each profile.

Url: https://eng.univsul.edu.iq/departments/civil-engineering/

Sitemap:
{"_id":"Univsul","startUrl":["https://eng.univsul.edu.iq/departments/civil-engineering/"],"selectors":[{"id":"pro","parentSelectors":["_root"],"type":"SelectorLink","selector":"a.staff-card_div","multiple":true,"linkType":"linkFromHref"},{"id":"name","parentSelectors":["pro"],"type":"SelectorText","selector":"p#h\.p_ID_36","multiple":false,"regex":""},{"id":"mail","parentSelectors":["pro"],"type":"SelectorText","selector":"p#h\.p_ID_54","multiple":false,"regex":""},{"id":"phn","parentSelectors":["pro"],"type":"SelectorText","selector":"p#h\.p_ID_56","multiple":false,"regex":""}]}

@JanAp please check this out.

@don2010 please help

Something like this:

{"_id":"univsul","startUrl":["https://eng.univsul.edu.iq/departments/civil-engineering/"],"selectors":[{"id":"link","linkType":"linkFromHref","multiple":true,"parentSelectors":["_root"],"selector":"a.staff-card_div","type":"SelectorLink"},{"id":"name","multiple":false,"parentSelectors":["link"],"regex":"","selector":"span.QTKDff","type":"SelectorText"},{"id":"email","multiple":false,"parentSelectors":["link"],"regex":"","selector":"p strong:has(a[href*=\"mailto\"]) a","type":"SelectorText"},{"id":"email2","multiple":false,"parentSelectors":["link"],"regex":"","selector":"p:contains(\"mail:\")","type":"SelectorText"},{"id":"phone","multiple":false,"parentSelectors":["link"],"regex":"","selector":"p:contains(\"Mobile:\")","type":"SelectorText"}]}
1 Like

Thank you so much. It works perfectly