Search code examples
pythongoogle-search

How to decode google search reseults without API


I would like to decode the search results. I know there is an ajax API provided by Google, but it only gives you 32 results. I also know theres a library 'Xgoogle' written in python by Peteris Krumins, but it was written in 2009 so nowadays it doesnt work as well. So is there a way to do this, in python, php, javascript? Thanks


Solution

  • Unfortunately, it is not possible. I believe that mentioned package was based on Google Search API, which is deprecated starting from November 1, 2010.

    And automatic querying of google search page is prohibited by google: you'll be considered a bot and a captcha inquiry will be added to each search result.

    You might want to consider other search engines (note that some of them are paid services):