Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: screen scraping google

by rob_au (Abbot)
on Jul 15, 2004 at 01:19 UTC ( [id://374479]=note: print w/replies, xml ) Need Help??


in reply to Re: screen scraping google
in thread screen scraping google

Also! May I suggest that you take a look at the WWW::Mechanize module on CPAN?
Depending upon your requirements, you may be better recommended to employ the Google Web API using SOAP::Lite - There is an example of employing this interface with SOAP::Lite both in the examples directory of the SOAP::Lite package (in fact, this example returns the number of search results in the same manner which you are attempting to achieve with your code) and at http://hacks.oreilly.com/pub/h/170

 

perl -le "print unpack'N', pack'B32', '00000000000000000000001011101011'"

Replies are listed 'Best First'.
Re^3: screen scraping google
by Rhandom (Curate) on Jul 15, 2004 at 15:37 UTC
    Or you could make life even easier and use Net::Google (which abstracts the SOAP::Lite for you).
    my @a=qw(random brilliant braindead); print $a[rand(@a)];

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://374479]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (1)
As of 2024-04-24 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found