develooper Front page | perl.libwww | Postings from November 2001

Re: Google denies libwww-perl

Thread Previous
From:
Tim Allwine
Date:
November 13, 2001 08:22
Subject:
Re: Google denies libwww-perl
Message ID:
3BF148AB.820BE6ED@oreilly.com
Tatsuhiko Miyagawa wrote:
> 
> Google seems to deny access via LWP, so live/google.t fails.
> I guess the rule is $Header{'User-Agent'} =~ /libwww-perl/
> 
> --
> Tatsuhiko Miyagawa <miyagawa@bulknews.net>

This works for me:
$ua->agent('Mozilla/4.72 [en] (X11; U; Linux 2.2.17 i686)');

I guess I really should upgrade the kernel though...;-)

-Tim

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About