Skip to content

bvallelunga/just-watch-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just Watch Scraper

A scraper for the justwatch.com website that utilizes their internal APIs. The scraper is capable of localizing the output data by providing an argument on the scrape() method.

To use the scraper:

var scraper = new Scraper()

scraper.scrape("en_US").then(function(response) {
  console.log(response)
})

Command Line

The scraper can be called via the command line using node. When the scraper is finished, you will find a file called output.txt in your directory.

node scraper.js <LOCALE>

API

The Scraper library utilizes the Bluebird promise library where all methods will return a promise.

The scrape("<LOCALE>") method accepts these locales:

en_US, en_CA, en_MX, pt_BR, de_DE, en_GB, en_IE, 
fr_FR, es_ES, en_NL, en_ZA, en_AU, en_NZ

About

A scraper for the justwatch.com website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published