PHP Classes
elePHPant
Icontem

Parse Google search results: Get Google results in an array

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  All requests RSS feed  >  Parse Google search results  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Parse Google search results

Edit

Picture of prithvimanBhattacharjee by prithvimanBhattacharjee - 9 months ago (2015-04-25)

Get Google results in an array

This request is clear and relevant.
This request is not clear or is not relevant.

+1

I would like to parse Google search result in an array or object after scraping the Google results page with a given keyword or search terms.

  • 1 Clarification request
  • 1. Picture of Dave Smith by Dave Smith - 9 months ago (2015-05-03) Reply

    Since google is the current master of the universe, I am not sure I would break their terms of service and start scraping their results. They do provide a custom search api, however the problem with creating wrappers for google api's is that they seem to always deprecate the api after a few years. I wasn't able to find anything working for their current api, so maybe this request will become featured.

    Ask clarification

    1 Recommendation

    PHP Google Custom Search API: Search for keywords using Google Custom Search API

    This recommendation solves the problem.
    This recommendation does not solve the problem.

    +1

    Picture of Manuel Lemos by Manuel Lemos Reputation 11100 - 6 months ago (2015-08-16) Comment

    It is not recommended that you scrape Google search result pages because they do not want you to do that, so they show a CAPTCHA if you perform automated searches.

    They also keep changing its design and any parser will stop working frequently.

    So the recommendation is to use their Google search API that this class can access for you.


    Recommend package
    : 
    :