imdb-scraper
v2.1.0
Published
Scrape data from IMDB.
Downloads
19
Readme
IMDB Scraper
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.