Hello all,
so let's say I am trying to get movie's info:
movie = imdb.IMDb().get_movie('FilmID')
but it times out - i.e. something goes wrong and the movie's info is not
retrieved. Ideally, I would like to do something like:
try:
      movie = imdb.IMDb().get_movie('FilmID')
except imdb.IMDbDataAccessError:
      # tell me it times out and do something about it
But it seems imdb.IMDb().get_movie() does not give exceptions when it
times out. (It sometimes is not succesful in retrieving movies info but is
suspiciously silent about it).

Am I doing something wrong?
Regards,
Tomas

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

Reply via email to