Popup Content not scraping

Describe the problem. I want to get mobile number from popup. I tried popuplink is a selector popup open but not able to scrap content.

Url: https://www.zomato.com/goa/restaurants

Sitemap:
{"_id":"goanew","startUrl":["https://www.zomato.com/goa/restaurants?page=[1-2]"],"selectors":[{"id":"Name","type":"SelectorElement","parentSelectors":["_root"],"selector":"div.search-snippet-card","multiple":true,"delay":0},{"id":"name","type":"SelectorText","parentSelectors":["Name"],"selector":"a.result-title","multiple":false,"regex":"","delay":0},{"id":"City","type":"SelectorText","parentSelectors":["Name"],"selector":"b","multiple":false,"regex":"","delay":0},{"id":"Address","type":"SelectorText","parentSelectors":["Name"],"selector":"div.col-m-16","multiple":false,"regex":"","delay":0},{"id":"Price","type":"SelectorText","parentSelectors":["Name"],"selector":".res-cost span.col-s-11","multiple":false,"regex":"","delay":0},{"id":"Time","type":"SelectorText","parentSelectors":["Name"],"selector":".res-timing div.col-s-11","multiple":false,"regex":"","delay":0},{"id":"cusine","type":"SelectorText","parentSelectors":["Name"],"selector":"span.nowrap","multiple":false,"regex":"","delay":0},{"id":"mobile","type":"SelectorPopupLink","parentSelectors":["Name"],"selector":".res-snippet-ph-info span","multiple":false,"delay":0}]}

Fortunately, the info is hidden in the source, so you don't even need to click on the button:

Id: mobile
Type: Element Attribute
Selector: div.search-result-action a[data-phone-no-str]
Attribute name: data-phone-no-str

1 Like

Thanks Buddy working perfectly.