Re: [Imdbpy-help] Episode information of not available

2012-03-24 Thread Davide Alberani
On Sat, Mar 24, 2012 at 14:44, David Kaufman  wrote:
>
> I was looking if I could retreive episode information through imdbpy,
> but was unable to do so:

Recently the episode pages changed a lot.
A fix is already available on the Mercurial repository:
  https://bitbucket.org/alberanid/imdbpy/

Let me know if you encounter other problems!


-- 
Davide Alberani   [PGP KeyID: 0x465BFD47]
http://www.mimante.net/

--
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


[Imdbpy-help] Episode information of not available

2012-03-24 Thread David Kaufman
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