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 ( #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'"


Comment on Re^2: screen scraping google
Download Code
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
Node Status?
node history
Node Type: note [id://374479]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2014-12-25 03:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls