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

https://github.com/deepred5/pixiv-login

爬虫模拟Pixiv登录,获取cookie
https://github.com/deepred5/pixiv-login

Last synced: 9 months ago
JSON representation

爬虫模拟Pixiv登录,获取cookie

Awesome Lists containing this project

README

          

# pixiv-login
[![npm version](https://img.shields.io/badge/npm-1.1.2-brightgreen.svg)](https://www.npmjs.com/package/pixiv-login)

爬虫模拟Pixiv登录,获取cookie

## Install
```javascript
npm install --save pixiv-login
```

## Usage
```javascript
const pixivLogin = require('pixiv-login');

pixivLogin({
username: 'your uesrname',
password: 'your password'
}).then((cookie) => {
console.log(cookie);
}).catch((error) => {
console.log(error);
})
```