v0dt

1.2.1 • Public • Published

MANUAL STEPS

1 Fetch justwatch list and copy to FR-netflix-tv-shows.json

On postman : https://apis.justwatch.com/content/titles/fr_FR/popular?body={"age_certifications":null,"content_types":["show"],"genres":null,"languages":null,"max_price":null,"min_price":null,"monetization_types":["flatrate","rent","ads","buy","free"],"page":1,"page_size":10000,"presentation_types":null,"providers":["nfx"],"release_year_from":null,"release_year_until":null,"scoring_filter_types":null,"timeline_type":null}

2 run index.js

2.1 run globalRank.js

3 run match.js

4 run storePosters.js

5 run replaceUrl.js to copy fr posterUrls to each file lang if store poster failed for all sauf fr

Automatic run npm start

Create new file : cli.js

const { run } = require('./index');
run({
    destinationPath: '/testFolder',
    awskeys: {
        'S3': {
            'AWS_ACCESS_KEY': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
            'AWS_SECRET_ACCESS_KEY': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
        }
    },
    provider: 'netflix' // ou 'amazon'
});

Readme

Keywords

none

Package Sidebar

Install

npm i v0dt

Weekly Downloads

1

Version

1.2.1

License

ISC

Unpacked Size

9.9 MB

Total Files

31

Last publish

Collaborators

  • mehdibetari