I'm trying to understand how to scrape decoded phone numbers from a yellow page website with PHP & Curl.
Here is an example URL: https://www.gelbeseiten.de/test
Normally you can technically do it with something like this:
$ch = curl_init();
$page = curl_exec($ch);
if(preg_match('#example html code (.*) example html code#', $page, $match))
$result = $match[1];
echo $result;
But on the page mentioned above you cannot directly find the phone number in the HTML code. There must be a way to get the phone number.
Can you please help me out?
Best regards,
Jennifer