The plot outline does not work for me. I tested with three different movies,
all of which have a plot outline available on the IMDb website. I tried just
like you said. I also inspected the stack data, and the 'plot outline' key
is never present. I'm using version 3.5 with Python 2.5.2. Could you please
check and test this out?
The synopsis works.
-----Original Message-----
From: Davide Alberani [mailto:[EMAIL PROTECTED]
Sent: Friday, May 02, 2008 8:32 AM
To: Amit Belani
Cc: imdbpy-devel@lists.sourceforge.net
Subject: Re: [Imdbpy-devel] Getting movie plot outline and synopsis
On May 02, Amit Belani <[EMAIL PROTECTED]> wrote:
> The plot outline (none or single) is different from the plot
> summaries (none or single or multiple)
The plot can be None or _always_ a list (of one or more elements -
unicode strings, obviously).
> which is different from the plot synopsis (none or single). It is
> currently possible to get the plot summaries, but is there (or can
> there also be) a way to get the outline and the synopsis?
Can be easily done:
from imdb import IMDb
ia = IMDb('http') # or 'mobile', these info are not in 'local' and 'sql'.
movieObject = ia.get_movie('AMovieID')
print movieObject.get('plot outline')
ia.update(movieObject, 'synopsis') # fetch the 'synopsis' data set.
print movieObject.get('synopsis')
--
Davide Alberani <[EMAIL PROTECTED]> [PGP KeyID: 0x465BFD47]
http://erlug.linux.it/~da/
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel