On Fri, Oct 28, 2011 at 19:57, Gustaf Nilsson <gus...@laserpanda.com> wrote: > Hi > Im trying to retrieve a list of movies a person has worked on, but it only > seems to work on famous people (?)
Hi! First of all, if you're not already doing it, I suggest to use the version from the Mercurial repository: http://bitbucket.org/alberanid/imdbpy/ The stable version is very old: I hope to release a new one in a few days. >>>> b = x.get_person(1459663) >>>> b.get_titlesRefs() Ok, get_titlesRefs is (mostly) an internal method, and only returns links to titles as found in the texts (biographies, plot summaries and so on). To get the other information, the objects instances of the Movie class work like python dictionaries. You can get a list of available information with: b.keys() After that, you can do things like: b.get('actor') b['visual effects'] Hope this helps! (by the way: wow, you worked on some very cool movies!) -- Davide Alberani <davide.alber...@gmail.com> [PGP KeyID: 0x465BFD47] http://www.mimante.net/ ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Imdbpy-help mailing list Imdbpy-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-help