On Jul 05, Zachary Borschuk <zachary.borsc...@gmail.com> wrote:

> Hello,

Hi!
First of all, my apologizes for the long delay: the notification for
your message was caught by my spam filter. :-/

> I am attempting to use this program to create a personal movie database, and
> I was wondering how I can get 'get_first_movie.py' to display more than 5
> actors and roles.

get_first_movie.py is just an example; it calls the 'summary' method
of the imdb.Movie.Movie class, which in turns is a simple example of
how to display basic information about a movie.
You can modify the 'summary' method, but I strongly discourage you:
after all the code will be overridden at the next update of IMDbPY.

Your best option is to look at example files like get_movie.py and
search_movie.py, and use them to create your own script.

>  I'd like to have it retrieve the entire cast list.

Provided that you're not using the 'mobile' data access system,
the whole cast list is always retrieved.

Using http://imdbpy.sourceforge.net/index.php?page=docs#examples as
a base, you can add at the end of the script lines like:
  for person in the_unt['cast']:
      print person.personID, person['name'], person.currentRole, person.notes

And so on.

If you have any question feel free to ask!

-- 
Davide Alberani <davide.alber...@gmail.com> [GPG KeyID: 0x465BFD47]
http://erlug.linux.it/~da/

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to