Googling



Hi

Summary: Is there an easy method to search Google and get the top
result (title & URL)?

I'm trying to write a script that gets URLs based on a name. I figured
using Google would be the simplest method. I need to search a specific
site, and can construct a query so that the top result is often enough
the correct result.

However, Net::Google requires a SOAP API key, and Google's site says
they are no longer providing new keys. I thought I might be able to
use WWW::Mechanizer, but the HTML that Google returns is fairly ugly
and I haven't tried parsing that just yet.

Is there an easy method to search Google and get the top result (title & URL)?
.



Relevant Pages

  • Re: Googling
    ... Is there an easy method to search Google and get the top ... Is there an easy method to search Google and get the top result? ... Using a script to scrape Google's result pages is against their Terms ...
    (perl.beginners)
  • Re: What is this Very Stupid DOS Attack Script?
    ... > ssh login attempts. ... If you search google, you'll see many recent similar threads on ... It's simply a brute force kiddy script. ...
    (FreeBSD-Security)
  • google SOAP API
    ... I'm writing a script to search google. ... The google SOAP API only allows ...
    (comp.lang.php)