IMDb Info Grabber - Online

Status
Not open for further replies.

Apathetic

Active Member
899
2011
241
0
Grab the info of a movie in a single click.

IMDb'er - IMDb Info Grabber

Features:
  • Ajax
  • BBcode format
  • Html format
  • Friendly interface
  • Movie poster uploaded to imur.com.com as of August 07

Valid search terms:
  • IMDb URL http://www.imdb.com/title/tt1099212/
  • IMDb ID tt1099212
  • Movie Title twilight

Returns the following details (if exists):
  • Movie poster (Average and not too small size)
  • cast
  • description
  • director
  • genre
  • givenRating
  • maxRating
  • plotKeywords
  • poster.imdb
  • poster.imgur
  • ratingCount (no. of votes)
  • runtime
  • stars (main stars from the cast)
  • storyline (short version of description)
  • title
  • writer
  • year
  • URL
  • ID

Imdber.Org

API

Read more at http://imdber.org/#/api

Buy me a beer and have me customize it for you, PM me.

Change Log:
February 06, 2013 -- backend changes
..snipped..
September 19, 2012 -- API
September 14, 2012 -- new variable, trailer
August 28, 2012 -- removed https
August 12, 2012 -- enable https connection :))
Augest 09, 2012 -- Movie posters are now uploaded to imgur.com
August 08, 2012 -- Bug fixes
July 17, 2012 -- Changed the design again. User customization of output now allowed.
March 19, 2012 -- changed the design
..snipped..
January 06, 2012 -- Start of IMDber
 
Last edited:
120 comments
Hey mate

I like your work a lot, and I have one question ...
What's the tag for trailer? Your first post here says it supports trailer link, but I can't find it in variables list. I've also tried {{trailer}} and {{movie_trailer}}, but those don't work.

Thanks
 
N13LA.jpg
Title: Men in Black Year: 1997 Genre: Action, Comedy, Sci-Fi Rating: 7.1 (204,647 Votes) Runtime: 98 min Director: Barry Sonnenfeld Writer(s): Lowell Cunningham, Ed Solomon Cast: Tommy Lee Jones, Will Smith, Linda Fiorentino Plot:
Code:
A streetwise NYPD detective joins a secret organization that polices extraterrestrial affairs on Earth.
IMDb URL:
Code:
http://www.imdb.com/title/tt0119654/
Trailer:
Code:
http://www.youtube.com/watch?v=IyaFEBI_L24
- Break missing after the cover
- Insert breaks to have the post spit out details per line, not continuously.
- Plot very hard to read within 'code' tag
- Preview would be nice.
- Have an option to include Youtube or not.

That one is almost perfect.

Did anyone know that IMDB also features adult movies, so you can use the grabber for that too?
But it finds a trailer for 'Vampires Suck'.
 
^You can actually have those customizations when you signup: Remove the trailer, etc etc.

I changed the default template to make use of
for the plot. I removed the trailer from the default template as well.

As for the line breaks, I don't know what you're referring to they seem to be fine to me.


thanks, but it's not working fine for me

It just inserts some random code, instead of i.e. "http://www.imdb.com/video/imdb/vi517579801/"

That is the youtube ID, so you would do something like this:

PHP:
[b]Trailer:[/b]
[code]http://www.youtube.com/watch?v={{trailer}}[/code]

//or 

<b>Trailer:</b> 
<iframe id="ytplayer" type="text/html" width="450" height="390" src="http://www.youtube.com/embed/{{trailer}}" frameborder="0"/>
</iframe>
 
Also for Image is not working, i get only '[ img]h[/img ]' ...

Unfortunately, yes.

The first one I did 'Batman' was correct, but subsequent tries for other movies delivered (It took the 'alt' from 'Batman', one I did about 5 times earlier).
Note: I customized it to Wordpress code.
<img src="h" alt="Batman"/><br/> <strong>Title:</strong> Hachiko: A Dog's Story <strong>Year of Release:</strong> 2009 <strong>Genre:</strong> Drama, Family <strong>Runtime:</strong> 93 min <strong>Director:</strong> Lasse Hallström <strong>Movie Cast:</strong> Richard Gere, Joan Allen, Cary-Hiroyuki Tagawa <strong>Plot:</strong> A drama based on the true story of a college professor's bond with the abandoned dog he takes into his home. <strong>Rating:</strong> 8.1 (# of votes: 38,492) <strong>IMDb URL:</strong> <a href="http://www.imdb.com/title/tt1028532/">http://www.imdb.com/title/tt1028532/</a>
If this has been corrected, I would say this (with its options) is the best grabber on the Web.

I've noticed that non of these grabbers are not 100% correct. This one delivers a wrong IMG, the Wordpress plugin sometimes gives plots, mostly not.

The one at katz inserts <br> tags, so worthless (out of the box) for wordpress which inserts more <br> tags and you need a script (http://www.textfixer.com/tools/remove-line-breaks.php) to remove the line breaks.

I think you're almost there. And can you add a 'language' tag?
 
Yes I've just issue with images which have not been cached, must have been a change in imgur's API or I rolled back too far. I've also removed the adult filter.
 
Seems to be working fine now. Only the img tag reads still 'Batman' (the first test I did).

<img src="http://i.imgur.com/Ms4rZ.jpg" alt="Batman"/><br/> <strong>Title:</strong> Hachi-gatsu no kyôshikyoku <strong>Year of Release:</strong> 1991 <strong>Genre:</strong> Drama <strong>Runtime:</strong> 98 min <strong>Director:</strong> Akira Kurosawa <strong>Movie Cast:</strong> Sachiko Murase, Richard Gere, Hisashi Igawa <strong>Plot:</strong> An elderly woman living in Nagasaki Japan takes care of her four grandchildren for their summer vacation... <strong>Rating:</strong> 7.2 (# of votes: 3,323) <strong>IMDb URL:</strong> <a href="http://www.imdb.com/title/tt0101991/">http://www.imdb.com/title/tt0101991/</a>

Update: Tag seems to be fixed. Now it's official: this is the best IMDB grabber (because of its customization options).

Anyway for who wants to use it on Wordpress:
<img src="{{poster}}" alt="{{title}}"/><br/>
<strong>Title:</strong> {{title}}
<strong>Year of Release:</strong> {{year}}
<strong>Genre:</strong> {{genre}}
<strong>Runtime:</strong> {{length}}
<strong>Director:</strong> {{director}}
<strong>Movie Cast:</strong> {{stars}}
<strong>Plot:</strong> {{plot}}
<strong>Rating:</strong> {{rating}} (# of votes: {{rating_count}})
<strong>IMDb URL:</strong> <a href="{{imdb_url}}">{{imdb_url}}</a>
 
API

make a POST request to http://imdber.org/api with the following parameters:
  • search - imdb title/url/id

you will get a JSON response with all the available variables (with a 200 HTTP code) if it was successful.

Example:

PHP:
$ curl -d "search=batman rises" http://imdber.org/api
{"title":"The Dark Knight Rises","poster":"http:\/\/i.imgur.com\/uCUp2.jpg","length":"165 min","year":"2012","director":"Christopher Nolan","writer":"Jonathan Nolan, Christopher Nolan","plot":"Eight years on, a new terrorist leader, Bane, overwhelms Gotham's finest, and the Dark Knight resurfaces to protect a city that has branded him an enemy.","stars":"Christian Bale, Tom Hardy, Anne Hathaway","genre":"Action, Crime, Drama","released":"20 July 2012","rating":"8.8","rating_count":"374,939","trailer":"GokKUqLcvD8","imdb_url":"http:\/\/www.imdb.com\/title\/tt1345836\/"}
$ curl -d "nonexistentparam=hello" http://imdber.org/api
{"error":"Invalid Request"}
$ curl -d "search=nonexistentmovie" http://imdber.org/api
{"error":["404 Movie Not Found (81)"]}
 
Status
Not open for further replies.
Back
Top