How do I make a request to a website using cURL and make the website believe that I am a search engine.
You can set your user-agent to Googlebot's (more info on the exact user-agents used on Google's KB):
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)');
This might not always work though! Some websites may choose to Reverse DNS check anyone claiming to be Googlebot.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With