node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »


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('', jquery, function(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) {