原创分享:获取tumblr图片工具
发布于 9 年前 作者 hcnode 4784 次浏览 最后一次编辑是 8 年前 来自 分享

github地址

Get tumblr images/videos tools

Dependencies

  • node version: v0.12.* is OK, v4.* is NOT OK
  • bower: npm install bower -g

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:

code

see test

回到顶部