#120 IMDB search no longer works (v3.1.0)

open
nobody
engines (42)
5
2012-12-09
2012-12-07
J.B.
No

Search with IMDB stopped to work a few weeks ago. You can search directly on the website and copy the ID from the URL, but the integrated search was much better :). Since IMDB offers a REST Webservice interface, maybe that would be the way to go in order to have a stable IMDB engine.

Discussion

  • Andreas Goetz
    Andreas Goetz
    2012-12-08

    We're currently using screen scraping as I'm not aware of any official API.
    Which one do you propose?

     
  • J.B.
    J.B.
    2012-12-09

    You are right, my mistake. I saw a RESTful API a few month ago, but it appears that it was imdbapi.org that was providing it, and it is nothing official unfortunately. It means that using it would add a third party dependency.

    But just for the search of a movie you could use this: http://www.imdb.com/xml/find?json=1&tt=on&ttype=ft&q=finding+nemo

    ttype=ft is to restrain to Movies json=1 is to get a JSON object (you can use xml=1 if you prefer an xml object). It has been stable for a while but since it is not a public API it can always change. q is for the movie query

     
  • J.B.
    J.B.
    2012-12-09

    Another way to do it could be to add a rottentomatoes engine. And use their Public RESTful API, they also return a JSON Object and one parameter contains the imdb ID :) ... It is a little bit cheating though. TheMovieDB also has a Public REST API, and has Synopsis in many languages ... not sure though if they provide the imdb ID. Those are just a few Ideas, I am note sure what is the most practical to implement. If I were a PHP or javastcript developer I would help you with some proof of concept code, but I only program in C and Java :(