I'm trying to scrape data from google results and for this doing curl request which works fine for few searches but after that it starts showing "Our systems have detected unusual traffic from your" then tried using proxy but still getting the same however; the ip is now changed after uisng proxy but not the error.
Error Image
Here is the code i'm using;
$curl=curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_PROXY, 'ip');
curl_setopt($curl, CURLOPT_PROXYPORT, 'port');
curl_setopt($curl, CURLOPT_PROXYUSERPWD,'user:pass');
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($curl);
if($result === FALSE) {
die(curl_error($curl));
}
curl_close($curl);
