imdb-reviews-scrapper

1.0.3 • Public • Published

IMDB Reviews Scraper

Installation

npm install imdb-reviews-scrapper

Usage

const imdbReviews = require('imdb-reviews-scrapper')
 
// All properties are optional
const options = {
  sort: 'helpfulnessScore', // helpfulnessScore | submissionDate | totalVotes | reviewVolume | userRating
  ratingFilter: '0', // 0 (Show all) | 1...10
  spoilers: '',      // hide | null
  paginationKey: ''  // IMDB uses a key to get the next page. You will find that with the response
}
 
imdbReviews(<IMDB_id>, options).then(reviews => {
  console.log(reviews)
})

Response

{ 
  data: [
     { 
       title: '',
       body: '',
       rating: '10/10',
       author: '',
       date: '16 March 2019',
       spoilers: true 
     }
  ],
  nextPageKey: ''
}

Readme

Keywords

Package Sidebar

Install

npm i imdb-reviews-scrapper

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

2.57 kB

Total Files

3

Last publish

Collaborators

  • samykhalil