Davide Alberani
Tue, 29 Sep 2009 04:57:07 -0700
On Sep 29, Weng-Fai Wong <wongw...@gmail.com> 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 <davide.alber...@gmail.com> [GPG KeyID: 0x465BFD47]
http://erlug.linux.it/~da/
------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help