Get request to Google Search

Maximus picture Maximus · Mar 26, 2017 · Viewed 17.3k times · Source

I'm trying to get HTML with search results from Google. With sending GET request for example to:

https://www.google.ru/?q=1111

But if in browser all is ok, when I'm trying to use it with curl or to get source with "View source" in Google, there is only some Javascript code, no search result. Is that some type of protection? What can I do?

Answer

Brian Smith picture Brian Smith · Mar 26, 2017

You now have to use the Google Search API to make your GET requests.

All other methods have been blocked.