Skip to content

Antosik/images-grabber

Repository files navigation

images-grabber

Build Status NSP Status npm

NPM install

Download all images from pixiv/twitter/deviantart profiles!

Install

  • Install node.js
  • Run npm install images-grabber -g

Usage

$ img-grab [service] [links] [arguments]

or

$ images-grabber [service] [links] [arguments]

Services

  • deviantart (by user profile link)
  • twitter (by user profile link) (must be public!)
  • pixiv (by user profile link)

Arguments

General

-h, --help                    show service help
-i N, --iteration=N           number of images loaded per iteration (default: 25)
-p path, --path=path          path to images directory (default: path to current directory + "/images")

Deviantart and Twitter specific args:

--unsafe                      download unsafe pictures (default: false)

Pixiv specific args:

-U username, --username=username       pixiv username (required!)
-P password, --password=password       pixiv password (required!)
-c, --collections                      download images in collections too

Example of usage

  • Get images from deviant art
$ img-grab deviantart https://www.deviantart.com/kvacm
  • Get images from pixiv including images in collections
$ img-grab pixiv pixiv.net/member_illust.php?id=10655554 https://www.pixiv.net/member.php?id=810305 -c
  • Get images from twitter (10 images per iteration)
$ img-grab twitter https://twitter.com/genskc -i 10

Sources install

  • Install node.js
  • Clone repo
  • Run npm i or npm install
  • After install, run ./bin/run [service] [links] [arguments]

References