pixiv-img
Save the image of pixiv.
Install
$ npm install --save pixiv-img
Usage
Save the image of pixiv in the current directory.
const pixivImg = ;const imgUrl = 'http://i3.pixiv.net/img-original/img/2016/03/31/00/31/46/56100246_p0.jpg'; ;//=> '56100246_p0.jpg'
Use with pixiv.js
API
pixivImg(imgUrl, [output])
imgUrl
Required
Type: string
URL of pixiv of img.
output
Type: String
Default: path.basename(imgUrl)
output path.
Related
- pixiv.js - pixiv api client
License
MIT © akameco