1.0.3 • Published 5 years ago

imdb-reviews-scrapper v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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: ''
}
1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago