Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Scrape imdb movie data
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
node_modules/jsdom
README.markdown
imdb-rscraper.js
jquery.min.js
package.json

README.markdown

What this scraper does ?

Parse the content from given IMDB site and then returns data in JSON format. Currently it does not support much of content which can be taken from IMDB.

How to use

JQuery should pass in as string,

var fs = require('fs')
  , imdb = require('../imdb-rscraper').imdbrscraper
  , jquery = fs.readFileSync('./jquery.min.js').toString();

imdb('http://www.imdb.com/title/tt0348836/', jquery, function(resultData) { 
    console.log(resultData); 
});

Also now there is support for searching movie from imdb so you don't have to give direct link. The downside of this kind query is that it makes extra request so it's a bit slower.

imdb('the ring', jquery, function(resultData) { 
    console.log(resultData); 
});
Something went wrong with that request. Please try again.