Negatively Proportional Model

    netflix-login

    1.1.0 • Public • Published

    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.

    Keywords

    Install

    npm i netflix-login

    DownloadsWeekly Downloads

    15

    Version

    1.1.0

    License

    ISC

    Last publish

    Collaborators

    • johnf