原创分享:获取tumblr图片工具
github地址 Get tumblr images tools
Usage
Cli
install tumblr-get globally
npm install tumblr-get -g
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
sample
tumblr-get -i movieposteroftheday -o /Users/harry -t 2000
this command mean:
- get all images from http://movieposteroftheday.tumblr.com/archive
- save images to /Users/harry
- image request timeout is 2000ms
code
see test