Get the phone numbers from existing website
I want to get all the phones numbers from the deals from this site.
How it can be done.
I have this following code where i get all the website and displaying on my site but i need just the phone numbers.
<?php
$urltopost = "http://deals.vconnect.com/lagos.html";
$datatopost = array ();
$ch = curl_init ($urltopost);
curl_setopt ($ch, CURLOPT_POST, true);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $datatopost);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
$returndata = curl_exec ($ch);
?>
<?php echo $returndata; ?>
The code where is displayed phone number is follow:
<a rel="external" style="text-decoration: none; color: #444;" href="tel:08033511964" onclick="dataLayer.push({'eventCategory' : 'OfferDPageLeads', 'eventAction' : 'IconClick', 'eventLabel': 'PhoneNoClick', 'eventValue' : '1', 'event' : 'PhoneNoClick'});">
08033511964
</a>
-
Brandon Tanner -
Thanks - 1 reply
Signature{{ DiscussionBoard.errors[9347082].message }}-
mbmkd88 -
Thanks - 1 reply
{{ DiscussionBoard.errors[9347253].message }}-
Brandon Tanner -
Thanks
Signature{{ DiscussionBoard.errors[9348677].message }} -
-
-