Pop up struggle

How can scrape this popup website

Url: Biochemistry – Redeemer's University

Json: {"_id":"POPUP_TEST","startUrl":["https://run.edu.ng/faculty-of-basic-medical-sciences/biochemistry/"],"selectors":[{"clickActionType":"real","clickElementSelector":".awsm-modal-trigger div .awsm-personal-info h3","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":2000,"discardInitialElements":"discard-when-click-element-exists","id":"click","multiple":true,"parentSelectors":["_root"],"selector":"body","type":"SelectorElementClick"},{"id":"name","multiple":false,"parentSelectors":["click"],"regex":"","selector":"#awsm-member-info-2761-3290 h2","type":"SelectorText"},{"id":"dep","multiple":false,"parentSelectors":["click"],"regex":"","selector":"#awsm-member-info-2761-3290 p","type":"SelectorText"},{"id":"email","multiple":false,"parentSelectors":["click"],"regex":"","selector":"#awsm-member-info-2761-3290 .team-email a","type":"SelectorText"},{"id":"phn","multiple":false,"parentSelectors":["click"],"regex":"","selector":"#awsm-member-info-2761-3290 li.team-number","type":"SelectorText"}]}

It repeated data:

Hi,

The data is already hardcoded in the HTML, so there is no need to perform any click action. See below sitemap for reference:

{"_id":"POPUP_TEST","startUrl":["https://run.edu.ng/faculty-of-basic-medical-sciences/biochemistry/"],"selectors":[{"id":"wrapper","multiple":true,"parentSelectors":["_root"],"selector":".awsm-modal-content-inner","type":"SelectorElement"},{"id":"name","multiple":false,"parentSelectors":["wrapper"],"regex":"","selector":"h2","type":"SelectorText"},{"id":"dep","multiple":false,"parentSelectors":["wrapper"],"regex":"","selector":"p","type":"SelectorText"},{"id":"email","multiple":false,"parentSelectors":["wrapper"],"regex":"","selector":".team-email a","type":"SelectorText"},{"id":"phn","multiple":false,"parentSelectors":["wrapper"],"regex":"","selector":"li.team-number","type":"SelectorText"}]}

Can you please explain ? How can I understand when I need to select which one?

To find the element that holds the popup-data, open the popup and then right-click -> Inspect.

image

1 Like

Thank you so much :heart_eyes: