Here's my code:
show_r = ia.search_movie(showname)
for res in show_r:
     if res['kind'] == 'tv series':
          show=res
          break
ia.update(show,'episodes')
title = show['episodes'][SN][EN]
print title

i get this error:
Traceback (most recent call last):
 File "./check.py", line 32, in <module>
   ename = show['episodes'][SN][EN]
 File "/usr/lib/pymodules/python2.7/imdb/utils.py", line 1406, in __getitem__
   rawData = self.data[key]
KeyError: 'episodes'

This didn't happen until i upgraded to 4.7
did the Key for episodic information change?

-- 
Thanks
Kevin Anthony
www.NoSideRacing.com
732.793.3473

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to