mkurtis has asked for the wisdom of the Perl Monks concerning the following question:
heres what i get when i run it#!/usr/bin/perl -w use LWP::RobotUA; my $ua = LWP::RobotUA->new('theusefulbot', 'bot@theusefulnet.com'); my $content = $ua->get("http://www.yahoo.com"); $ua->delay(10/600); print $content;
I was using robotUA as part of a larger crawler, but when that didnt work i made this script to test what it was "getting". I have just reinstalled the libwww5.76 module it came packaged in and that went through fine, but still these errors. Funny thing is that this script would have worked a week ago because i wrote the same thing to test what the module did and $content gave me the HTML not HTTP::Response=HASH(0x82111c0). What do i do?HTTP::Response=HASH(0x82111c0)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: RobotUA not working
by Prior Nacre V (Hermit) on Mar 07, 2004 at 01:51 UTC | |
by mkurtis (Scribe) on Mar 07, 2004 at 02:20 UTC | |
by Prior Nacre V (Hermit) on Mar 07, 2004 at 03:26 UTC | |
by mkurtis (Scribe) on Mar 07, 2004 at 05:46 UTC | |
by Prior Nacre V (Hermit) on Mar 07, 2004 at 06:14 UTC | |
by Prior Nacre V (Hermit) on Mar 07, 2004 at 18:45 UTC | |
| |
|
Re: RobotUA not working
by tachyon (Chancellor) on Mar 07, 2004 at 15:16 UTC | |
by mkurtis (Scribe) on Mar 07, 2004 at 19:00 UTC | |
|
Re: RobotUA not working
by hsinclai (Deacon) on Mar 07, 2004 at 16:04 UTC |