Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Google search modules

by spx2 (Deacon)
on Mar 20, 2008 at 07:10 UTC ( #675172=perlquestion: print w/replies, xml ) Need Help??
spx2 has asked for the wisdom of the Perl Monks concerning the following question:


Does anybody know a module for getting results from a Google search ?
I have tried some of the ones on cpan and they require some soap api key
that google has discontinued providing to people some time ago,
and some other modules I've tried but they didn't work.
Do you know any perl modules that you have used for this and worked ?


Replies are listed 'Best First'.
Re: Google search modules
by moritz (Cardinal) on Mar 20, 2008 at 07:34 UTC
    It's unlikely that you find such modules, because Google's Terms of Service don't allow automated search requests anymore, unless you have one of the old API keys.

    But you can buy a license for reasonable prices (somebody mentioned 100$ / year the other day), then you're allowd to do such queries again (and I think you'll get an API key and you can use all of those modules).

    See also How to call google search in Perl/CGI script

      Yes that would be nice if I would have the money to buy the key.
      Would you consider this being a nice alternative?
      it has a nice HTML structure so it's easily parsable
      What is your oppinon on that ?
        I'm no laywer, but I don't see how using another site as a proxy actually prevents you from violating Google's ToS.

        Just because you can use Google's search for free with the browser doesn't mean you may do everything you want with that service. Why don't you respect that?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://675172]
Approved by Erez
and nobody stirs...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2018-05-27 20:18 GMT
Find Nodes?
    Voting Booth?