Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connecting to IMDB

Has any one done this before? It would seem to me that there should be a webservice but i can't find one. I am writing an application for personal use that would just show basic info from IMDB.

like image 468
Matthew M. Osborn Avatar asked Sep 19 '08 07:09

Matthew M. Osborn


3 Answers

The libraries for IMDb seem quite unreliable at present and highly inefficient. I really wish IMDb would just create a webservice.

After a bit of searching I found a reasonable alternative to IMDb. It provides all the basic information such as overview, year, ratings, posters, trailers etc.:

The Movie Database (TMDb).

It provides a webservice with wrappers for several languages and seems reliable so far. The search results have been, for myself, more accurate as well.

like image 140
Arical Avatar answered Oct 20 '22 23:10

Arical


There is no webservice available.

But there are enough html scrapers written in every language to suit your needs!

I've used the .NET 3.5 Imdb Services opensource project in a few personal projects.

1 minute google results:

  • Perl: IMDB-Film
  • Ruby: libimdb-ruby
  • Python: IMDbPY
like image 22
Davy Landman Avatar answered Oct 20 '22 23:10

Davy Landman


The only "API" the IMDb publishes is a set of plain-text data files containing formatted lists of actors, directors, movies, etc. You would likely need to write your own parser unless somebody has released one for your language. Try Google searches like "imdb api" and "imdb parser".

A screen scraper might be useful, but they specifically prohibit scrapers in their terms of use.

like image 8
skymt Avatar answered Oct 21 '22 00:10

skymt