On Mar 14, Chris Spencer <chriss...@gmail.com> wrote: > Are the MPAA ratings IMDB distributes as part of > mpaa-ratings-reasons.list.gz accessible from IMDBPy through the Movie > class?
Sure, but remember that here we're talking about the plain text data files, and so you should specify what 'data access system' you're using. An example for 'sql': from imdb import IMDb i = IMDb('sql', uri='yourDatabaseURI') matrix = i.search_movie('the matrix (1999)')[0] i.update(matrix) print matrix['mpaa'] If - instead of 'sql' - you plan to use 'local' (a thing to avoid, if possible), remember that you have to first run the included 'mpaa4local.py' script (mpaa information aren't handled by the mkdb program, for some reason). 'http' and 'mobile' works the same way, too. HTH, -- Davide Alberani <davide.alber...@gmail.com> [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Imdbpy-help mailing list Imdbpy-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-help