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/
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/
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"}]}
Thank you so much. It works perfectly