tumblr-get
v0.1.4
Published
get tumblr images and videos
Downloads
2
Readme
Dependencies
- node version: >=0.12.* is OK, >=4.* is OK as well
Usage
install tumblr-get globally
npm install tumblr-get -g
Cli
options
harry$ tumblr-get -h
Usage: tumblr-get [options]
Options:
-h, --help output usage information
-V, --version output the version number
-i, --id [String] id of tumblr
-o, --output [String] Optional, dir to save the images, default is current path
-t, --timeout [n] Optional, timeout of requesting image, default is 10s
-c, --category [String] Optional, video or image, default is both
sample
tumblr-get -i movieposteroftheday -o /Users/harry -t 2000 -c image
this command mean:
- get all images from http://movieposteroftheday.tumblr.com/archive
- save images to /Users/harry
- image request timeout is 2000ms
- get image only
code
see test