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)
In reply to RobotUA not working by mkurtis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |