On Thu, May 26, 2011 at 23:05, LinuxUser <illba...@gmail.com> wrote:
> Is there a way to only get some data with ia.update to speed up
> things? I just need votes and rating.

Sure.
You can avoid the plot page to be fetch with:
  from imdb import IMDb
  ia = IMDb('http')
  movie = ia.get_movie('0985694', info='main')

In theory you could also replace 'http' with 'mobile', and a lighter page will
be fetched, but 'rating' and 'votes' are currently broken (I hope to fix it in
the weekend).

In both cases, you can do this:
  ia.update(movie, 'vote details')
to get both 'rating', 'votes' and the other statistics about votes.

HTH,
-- 
Davide Alberani <davide.alber...@gmail.com>  [PGP KeyID: 0x465BFD47]
http://www.mimante.net/

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

Reply via email to