I agree that spoofing another user agent is an ugly hack, however setting an appropriate user agent is always a good idea:
my $ua = LWP::UserAgent->new(agent => 'MyApp/0.1');
In reply to Re^3: LWP::UserAgent Bad and Forbidden requests
by tobyink
in thread LWP::UserAgent Bad and Forbidden requests
by taioba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |