Greetings,
    Perhaps you can help me. What I am trying to do is retrieve the cast list 
only, rather than all of a movie's information. I only need the cast
information, and I must fetch it for several movies at a time, so extra data is 
a waste of resources and time.
The line I am trying to use is:
    imdb_access.update(movie_object, 'cast')
    # also tried  imdb_access.update(movie_object, u'cast')
but it causes an exception:
2010-03-30 19:18:56,312 CRITICAL [imdbpy] c:\program files\python\lib\site-packa
ges\imdb\_exceptions.py:35: IMDbDataAccessError exception raised; args: ('unknow
n information set "cast"',); kwds: {}
Traceback (most recent call last):
  File "C:\Program Files\Python\lib\site-packages\imdb\__init__.py", line 710, i
n update
    (prefix, i.replace(' ', '_')))
AttributeError: IMDbHTTPAccessSystem instance has no attribute 'get_movie_cast'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Program Files\Python\lib\site-packages\imdb\__init__.py", line 712, i
n update
    raise IMDbDataAccessError, 'unknown information set "%s"' % i
imdb._exceptions.IMDbDataAccessError: unknown information set "cast"

The only other way I can do it is by updating everything:
    imdb_access.update(movie_object)
    cast_list = movie_object['cast']

Can you show me the correct syntax to use here?

Thank you for your time
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to