Hi there,
I was looking if I could retreive episode information through imdbpy,
but was unable to do so:
I executed following code which can be found here:
http://imdbpy.sourceforge.net/docs/README.series.txt
from imdb import IMDb
i = IMDb()
m = i.get_movie('0389564') # The 4400.
m['kind']# kind is 'tv series'.
i.update(m, 'episodes') # retrieves episodes information.
Whenever I call:
m['episodes']
I get following error message:
...\imdb\utils.pyc in __getitem__(self, key)
1431 # Handle key aliases.
1432 key = self.keys_alias.get(key, key)
-> 1433 rawData = self.data[key]
1434 if key in self.keys_tomodify and \
1435 self.modFunct not in (None, modNull):
KeyError: 'episodes'
I'm I doing something wrong? I currently using IMDbPY 4.8.2 2011-11-01
with Python 2.7.2 32 Bit.
It would be very nice if someone could help me here or at least see if
you also get the error.
Greetings,
David
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
___
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help