Great, thanks -HWK
On Apr 29, 11:43 pm, Davide Alberani <davide.alber...@gmail.com> wrote: > On Apr 29, Håvard Wahl Kongsgård <haavard.kongsga...@gmail.com> wrote: > > > Another issue for ia.update(); item[''] what is the name of the "Plot > > Keywords" table? > > Was unable to find it in the documentation. > > I'm not sure to have completely understood the question. > > The (optional) second parameter of ia.update is a string or a list > of string representing the information set you want to retrieve. > These are explained in the "INFORMATION SETS" section of the README.package > file. You can call ia.get_movie_infoset() to get a list of available > info set about movies, for example. > An "info set" may add one or more (or even zero, if no info is available) > keys to the movie instance we're working on. > > E.g. > ia.update(movie, 'keywords') > > will update the the 'movie' instance, adding (if available!) a "keywords" > key containing the keywords of the movie. So, after the above line, > you can call: > print movie.get('keywords') > > Talking about the names of the keys that will be added to a Movie > instance... they are not written in stone. :-) > Fetching information from the web, their name may (slightly) change from > time to time. You can see which information are available for a movie > instance (once you're fetched them with ia.update) calling movie.keys() > > If you have other problems, please describe what you need and/or > submit an example of your code. > > Bye, > -- > Davide Alberani <davide.alber...@gmail.com> [GPG KeyID: > 0x465BFD47]http://www.mimante.net/ > > ------------------------------------------------------------------------------ > _______________________________________________ > Imdbpy-help mailing list > imdbpy-h...@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/imdbpy-help > > -- > You received this message because you are subscribed to the Google Groups > "imdbpy-users" group. > To post to this group, send email to imdbpy-us...@googlegroups.com. > To unsubscribe from this group, send email to > imdbpy-users+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/imdbpy-users?hl=en. ------------------------------------------------------------------------------ _______________________________________________ Imdbpy-help mailing list Imdbpy-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-help