On Sep 29, Weng-Fai Wong <[email protected]> wrote:

> As an example, I'd like to get the value of "UPC" of "097360504248"
> for the movie The Untouchables in the link below:

An example:

        from imdb import IMDb

        ia = IMDb('http')

        movie = ia.get_movie('0094226')
        ia.update(movie, 'dvd')

        for dvd in movie.get('dvd', []):
            print dvd.get('title'), dvd.get('upc')

Please see the README.package file [1] (especially the "INFORMATION SETS"
section) to learn about data sets.

HTH.

+++
[1] http://imdbpy.sourceforge.net/docs/README.package.txt
-- 
Davide Alberani <[email protected]> [GPG KeyID: 0x465BFD47]
http://erlug.linux.it/~da/

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Imdbpy-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to