1.1.0 • Published 7 years ago

netflix-login v1.1.0

Weekly downloads
8
License
ISC
Repository
github
Last release
7 years ago

Netflix Login

Circle CI Coverage Status

Login in to Netflix and provide cookies and encryption keys.

Usage Notes

Please read the Netflix Terms of Use before using this module.

Installation

npm install netflix-login

Usage

import netflixLogin from 'netflix-login/login';
import netflixCrypto from 'netflix-login/crypto';

const options = {
  useCache: true,
  cachePath: 'tmp',
};
const username = 'johnf@inodes.org';
const password = 'secret';

netflixLogin.login(username, password, options)
  .then(authData => netflixCrypto.fetchCryptoKeys(authData, options))
  .then(data => console.error(data))
  .catch((error) => {
    console.error('ERROR');
    console.error(error);
  });

Development

After checking out the repo, run npm test to run the tests.

To release a new version:

  • npm test
  • npm version major|minor|patch
  • npm publish

This will run the tests, update the version, create a git tag for the version, push git commits and tags. Publish the module file to npmjs.com.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/johnf/netflix-login-node. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the ISC License.

1.1.0

7 years ago

1.0.0

7 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago