Hmmm.
Ještě můžeš použít nějaký random řetězec klientského User-Agenta pro hledání.
Třeba to oblbne blokátor.
Co já vím.
<?php
sleep(rand(1,5)); // náhodná doba dotazů
$fraze="lékárna praha";
$url = "https://www.google.cz/search?".urlencode($fraze)."&start=0";
$options = array(
'http'=>array(
'method'=>"GET",
'header'=>"Accept-language: en\r\n" .
"Cookie: foo=bar\r\n" .
"User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:44.0) Gecko/20100101 Firefox/".rand(1,44).".0" // náhodná verze FireFoxu
)
);
$context = stream_context_create($options);
$html = file_get_contents($url, false, $context);
?>