Git Product home page Git Product logo

images-grabber's Introduction

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

images-grabber's People

Contributors

antosik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

images-grabber's Issues

Images Not Downloading

Installed npm beforehand, restarted. Went to install img-grab as directed but had some permissions errors and ended up having to use sudo, not sure if that's normal. Tried with both pixiv and Twitter and I get prompted with this.

ListrError: Something went wrong
at tasks.then (/usr/local/lib/node_modules/images-grabber/node_modules/listr/index.js:102:18)

I'm using Windows 10, Ubuntu terminal, and node.js version 12.18.1 LTS.
Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.