Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/snlg/get-cookie
- Owner: snlg
- Created: 2018-03-20T07:00:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-20T08:29:41.000Z (almost 7 years ago)
- Last Synced: 2024-08-09T01:41:23.237Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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);
})
```