V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
nanjishidu
V2EX  ›  分享创造

insta 实现 instagram 账户图片进行备份。

  •  
  •   nanjishidu · 2016-12-30 23:08:43 +08:00 · 1689 次点击
    这是一个创建于 2663 天前的主题,其中的信息可能已经有所发展或是发生改变。

    使用

    1.编译使用

    cd $GOPATH/src
    git clone https://github.com/gophper/tools.git
    cd  tools/insta
    go build insta.go
    ./insta -h
    

    Useage: ./insta [ Options ]

    Options:

      -username      instagram username
      -imgurl        download the image url
      -dir           instagram save path  [Default: uploadir]
      -http_proxy    http proxy url  [Example: http://127.0.0.1:1087]
      -tcp_proxy    tcp proxy  [Example: 127.0.0.1:1086]
      -pagesize      number each page to download [Default: 100]
      -imgnum        download the image max number
      -thumbnails    whether to download a thumbnail
      -h             help
      -version       insta version
    

    2.直接下载

    下载编译好的二进制包,解压运行。

    下载链接

    最后

    但是因为一些原因,直接运行下载不成功。

    因此添加了代理参数 -http_proxy 和-tcp_proxy,配合 socks5 代理或者 http 代理使用。

    第 1 条附言  ·  2017-01-01 22:54:36 +08:00
    2 条回复    2017-01-02 20:43:43 +08:00
    nanjishidu
        1
    nanjishidu  
    OP
       2017-01-01 11:59:08 +08:00
    自己顶一下。。。 travels.nature.life 的质量不错。。。
    yuhaaitao
        2
    yuhaaitao  
       2017-01-02 20:43:43 +08:00
    不会用
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5483 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 07:31 · PVG 15:31 · LAX 00:31 · JFK 03:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.