2.1.0 • Published 3 years ago

imdb-scraper v2.1.0

Weekly downloads
11
License
MIT
Repository
github
Last release
3 years ago

IMDB Scraper npm

A simple Promise based IMDB scraper

Install

npm install imdb-scraper

Example

const IMDBScraper = require('imdb-scraper')
const Imdb = new IMDBScraper()

Imdb.title('tt3896198')
  .then(res => console.log(res))
  .catch(err => console.log(err))

Usage

Constructor Options

{
  // Request defaults to change headers, use proxies, etc..
  requestDefaults: {},
  // How many retries before request fails
  maxRetries: 3
}

Methods

title(tmdbId)

episodes(tmdbId, season = 1)

search(string || object)

Contributions

Contributions are welcome, make a PR.

2.1.0

3 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.1

6 years ago

1.0.0

6 years ago