Hi, I just started using IMDBpy. Thanks a lot for this code, Davide! I found a bug in version 2.5 that leads to the 'akas' and 'runtime' not being retrieved. It is the possible reason for the bug reported by Martin Arpon a little while ago:
In the file 'movieParser.py', l.557 several elif statements are not int he 'self._inbch:' block as they should. I think the code must read: elif self._inbch: if sldata.startswith('plot outline:'): self._isplotoutline = 1 elif sldata.startswith('tv series:'): self._in_series_title = 1 elif sldata.startswith('original air date'): self._in_series_info = 1 elif sldata.startswith('also known as'): self._is_akas = 1 elif sldata.startswith('runtime:'): self._is_runtimes = 1 elif sldata.startswith('production notes/status'): self._is_movie_status = 1 elif self._in_episode_title: self._episode_title += data instead of elif self._inbch: if sldata.startswith('plot outline:'): self._isplotoutline = 1 elif sldata.startswith('tv series:'): self._in_series_title = 1 elif sldata.startswith('original air date'): self._in_series_info = 1 elif self._in_episode_title: self._episode_title += data elif sldata.startswith('also known as'): self._is_akas = 1 elif sldata.startswith('runtime:'): self._is_runtimes = 1 elif sldata.startswith('production notes/status'): self._is_movie_status = 1 I hope this helps and again, thanks for the package! Best whishes, Andreas -- Andreas Schoenle, Dr. Department of NanoBiophotonics Max-Planck-Institute for Biophysical Chemistry D-37070 Gottingen, Germany phone:+49 551 201 2611 fax:+49 551 201 2505 http://www.mpibpc.gwdg.de/abteilungen/200/ PGP-Key: http://www.mpibpc.gwdg.de/abteilungen/200/personals/aschoen.asc _______________________________________________ Imdbpy-devel mailing list Imdbpy-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-devel