https://github.com/deepred5/pixiv-login
爬虫模拟Pixiv登录,获取cookie
https://github.com/deepred5/pixiv-login
Last synced: 9 months ago
JSON representation
爬虫模拟Pixiv登录,获取cookie
- Host: GitHub
- URL: https://github.com/deepred5/pixiv-login
- Owner: deepred5
- Created: 2017-09-05T03:21:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-09T11:57:08.000Z (almost 9 years ago)
- Last Synced: 2025-08-30T11:52:04.042Z (10 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pixiv-login
[](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);
})
```