Skip Menu |

This queue is for tickets about the Weather-Google CPAN distribution.

Report information
The Basics
Id: 43258
Status: rejected
Priority: 0/
Queue: Weather-Google

People
Owner: POSSUM [...] cpan.org
Requestors: telemachus [...] arpinum.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: 403 Forbidden error with LWP::Simple in Weather::Google
Date: Fri, 13 Feb 2009 11:35:31 -0500
To: bug-weather-google [...] rt.cpan.org
From: Telemachus <telemachus [...] arpinum.org>
Hey there, I've been using Weather::Google steadily for some time now, and it's a great, simple module. Unfortunately as of one or two days ago, Google seems to forbid LWP::Simple requests. The error you actually see has to do with a missing weather.xml file, but after knocking around a bit, I think that LWP::Simple is the problem. Things work again, if I (hackishly) do this: use LWP::Simple qw/get $ua/; ## later, above line 42 $ua->agent("Mozilla/3.1"); my $xml = get(GAPI.$zip); ## everything else as before The current version with only LWP::Simple is a no go on Perl 5.10.0 on Mac OS X and 5.8.8 on openBSD. Thanks, T
Module (and API) Deprecated.