1. Davide Alberani
  2. imdbpy
  3. Issues
Issue #8 duplicate

Can not retrieve episode information for TV Series

Anonymous created an issue

I've been having problems trying to retrieve information about TV series. Nothing I do will give me anything but an error saying "KeyError: 'episodes'. So, using the code in README.series (lines 54-87), I get the following error.

Traceback (most recent call last): File "/home/greg/python/BoxeeNfoCreator/Old Code/episodestest1.py", line 8, in <module> m['episodes'] # a dictionary with the format: File "/usr/lib/pymodules/python2.7/imdb/utils.py", line 1406, in getitem rawData = self.data[key] KeyError: 'episodes' Script terminated.

Inserting 'print m.keys()' after line 3 (m = i.get_movie('0389564') # The 4400.)

I'm sure it's something that I'm doing, but I can't figure out what the problem is.

I'm using the latest version in the Mercurial repository as of 5/25/2011.

Comments (1)

  1. Log in to comment