Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/snlg/get-cookie

:hammer: Multi ENV get cookie
https://github.com/snlg/get-cookie

Last synced: 18 days ago
JSON representation

:hammer: Multi ENV get cookie

Awesome Lists containing this project

README

        

# get-XDcookie
[![npm version](https://img.shields.io/badge/npm-0.0.1-brightgreen.svg)](https://www.npmjs.com/package/get-xd-cookie)

爬虫模拟odecker4登录,获取cookie

## Install
```javascript
npm install --save get-xd-cookie
```

## Usage
```javascript
const getXDcookie = require('get-xd-cookie');

getXDcookie({
phone: 'your phone',
token: 'your token'
}).then((cookie) => {
console.log(cookie);
}).catch((error) => {
console.log(error);
})
```