On Apr 22, Jesper Noehr <[EMAIL PROTECTED]> wrote:
> Plot outlines are gathered from the elaborate "plot outline" page.
> But what about the plot outline displayed on the frontpage of a movie?
There are two separated keywords: 'plot' is the content of the
"plot summary" page; if it exists it's always a list of strings (because
there can be more than one plot). The strings are in this format:
"Name Of The Writer Of This Summary::Summary"
The other one is 'plot outline' and, if present, is a string containing
the "plot outline" you can read in the main page of a movie.
Example:
from imdb import IMDb
i = IMDb()
m = i.get_movie('0358082')
# print a list of strings.
print m.get('plot')
# print a short string.
print m.get('plot outline')
That's true for both "http" and "mobile" data access systems: for
"local" and "sql" the 'plot outline' is not available in the plain
text data file.
I've done a fast test with the movie you pointed to, and it seems
to work correctly; if you find a bug, let me know!
--
Davide Alberani <[EMAIL PROTECTED]> [PGP KeyID: 0x465BFD47]
http://erlug.linux.it/~da/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Imdbpy-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel