How to scrape phone number from this site


I cant able to scrape phone number from this site, even i cant copy this number too.

I've tried text, link selectors but didn't get any result.

Here is my URL :

Here is my Sitemap : {"_id":"photo_studios","startUrl":[""],"selectors":[{"id":"Name","type":"SelectorLink","parentSelectors":["element scroll down"],"selector":"span.jcn a","multiple":true,"delay":""},{"id":"element","type":"SelectorElement","parentSelectors":["Name"],"selector":"ul.comp-contact","multiple":false,"delay":0},{"id":"element scroll down","type":"SelectorElementScroll","parentSelectors":["_root"],"selector":"ul.rsl","multiple":true,"delay":"2000"},{"id":"phone number","type":"SelectorText","parentSelectors":["element"],"selector":"","multiple":false,"regex":"","delay":0},{"id":"address","type":"SelectorText","parentSelectors":["element"],"selector":"span.lng_add","multiple":false,"regex":"","delay":0}]}

Please let me know your suggestion ASAP.


You are unable to scrape the phone numbers because it has been created using icons, to prevent scraping tools and bots form scraping it and unfortunately this is outside the capabilities of webscraper

You can actually do it, by picking up the class names used for numbers and then deciphering them within Excel by a formula.

Example sitemap I've used to obtain classnames:

{"_id":"justdial","startUrl":[""],"selectors":[{"id":"tell_me_the_number","type":"SelectorElementAttribute","parentSelectors":["_root"],"selector":"#bcard0 > div.col-md-12.col-xs-12.colsp > section > > > span > a > b > span","multiple":true,"extractAttribute":"class","delay":0}]}

That's really interesting.... Why not do it Grouped.

You might be able to do it using a vlookup table but you'd need to map it out first.

I'd do it using Tampermonkey script to inject numbers straight into corresponding classes and then have it scraped.

Main idea was just to prove possibilities of WebScraper :wink:

I’m not skilled into tampermonkey but I figured it out in excel.

However, didn’t manage to scrape all elements - seems to use both regular pagination and infinite scroll.

how were you able to scrape the numbers from just dial?