Phonenumber scrape


#1

Hi,
is it possible to scrape this phone number (opens up with a click on "ver telefono") http://www.hazmeprecio.com/empresa/wwwcastshinecom


#2

Hi,

Not at the moment. SeoTools scrapes what exists on the page when it loads. The phone number is generated after the user clicks the button.

image


#3

Hi,

I found a way:

  1. In cell A1 write down the URL (like http://www.hazmeprecio.com/empresa/wwwcastshinecom)
  2. In cell B1 paste this formula:
    =Dump(RegexpFindOnUrl(A1,"phone=([\d]+)",1,HttpSettings()))
  3. In cell C1 paste this:
    =CONCATENATE("http://www.hazmeprecio.com/redirect.php?phone=",B1)
  4. In cell D1 paste this:
    =Dump(RegexpFindOnUrl(C1,"^*.+$",0))

A2 extracts the id of the site, A3 concatenates the id to the "get phone" url, and A4 actually retrieves the phone from the url. Of course you can combine those formulas to save some space.