andrewrjones / perl5-WebService-TVDB

A Perl interface to http://thetvdb.com/
https://metacpan.org/module/WebService::TVDB
4 stars 6 forks source link

Specify HTTP user agent #9

Closed timdp closed 12 years ago

timdp commented 12 years ago

It might be a problem on my end, but WebService::TVDB became unable to connect until I changed the HTTP user agent from LWP::Simple's default. Maybe it was just my IP that had been throttled, but regardless, I think it's better to pass a descriptive user agent string. The patch is a bit of a dirty workaround, but it gets the job done.

andrewrjones commented 12 years ago

Thanks Tim - these changes look fine.