Get unlimited public & private packages + team-based management with npm Teams.Learn more »

v0dt

1.1.0 • 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'
});

Keywords

none

Install

npm i [email protected]

Version

1.1.0

License

ISC

Unpacked Size

9.9 MB

Total Files

31

Last publish

Collaborators

  • avatar