Subject: | download http://thetvdb.com/api/ARRAY(0x13e03a0)/mirrors.xml, 404 Not Found |
Date: | Sat, 07 May 2016 11:05:11 +0000 |
To: | bug-TVDB-API [...] rt.cpan.org |
From: | Joel Mathew <joel [...] joel.su> |
The module is apparently using an array where a string is expected.
Sample code:
use Data::Dumper;
use TVDB::API;
my $apikey='myapi'; #Changed
my $language='en';
my $tvdb = TVDB::API::new([[$apikey], $language]);
my $episode = $tvdb->getEpisode('Lost', 3, 5);
print Dumper($episode);
Result:
Warning: TVDB::API: download
http://thetvdb.com/api/ARRAY(0x13e03a0)/mirrors.xml, 404 Not Found
Could not find tvdb.xml in /home/joel/scripts/ at
/usr/local/share/perl/5.22.1/TVDB/API.pm line 271.