On Feb 18, Sébastien Ragons <srag...@gmail.com> wrote:

> I add a new function to imdbpy that provide the url of the poster
> of a movie.

Wow!  First of all, thank you very much for your work.
Now the bad news: a big part of it was already in IMDbPY. :-/

Some time ago Basil Shubin showed us a way to get high-res
versions of 'cover url' (for movies) and 'headshot' (for
persons and characters).
You can test if this way:
        from imdb import IMDb
        import imdb.helpers

        ia = IMDb('http')
        m = ia.get_movie('0499549') # Avatar.
        print m['cover url'] # the 'small-sized' cover.
        print imdb.helpers.fullSizeCoverURL(m)


> print access.get_poster(movie)

What you get is an intermediate size picture, if I'm not wrong.

I've to study your code better to see if it can be useful to
grab the 'media url' anyway (or a pointer to the media gallery).
What do you think?

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

------------------------------------------------------------------------------
Download Intel&reg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

Reply via email to