Subject: | Retrieving episodes for a TV series returns undef |
episodes() seems to have been broken by a change either in your code or by something changing on the IMDb side of things..
If I use the criteria "the office us", the correct IMDB entry is found, but a call to episodes() returns undefined...
After having a look through your code, I believe the error is that you have:
return if $self->kind ne "tv series";
at the top of the episodes subroutine, whereas $self->kind actually contains "TV Series" (note the capitalization).