Alex Rivera | Logout

Given an IMDB movie id, how do I programmatically get its poster image?

Asked 2008-09-30T00:11:38.280
23

movie id tt0438097 can be found at http://www.imdb.com/title/tt0438097/

What's the url for its poster image?

Edit
Report

1 Answer

5

The URL is a random string as far as I can tell.

It can still be easily retrieved. It is the only img inside the anchor named poster.

So, if you are reading the source, simply search for <a name="poster" and it will be the text following the first src=" from there.

However, you will need to keep the screen scraping code updated because that will probably change.


You should also be aware that the images are copyrighted, so be careful to only use the image under a good "fair use" rationale.

answered 2008-09-30T00:16:42.230

Your Answer