Need help with laosj?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

songtianyi
200 Stars 40 Forks Apache License 2.0 82 Commits 1 Opened issues

Description

golang light-weight image crawler

Services available

!
?

Need anything else?

Contributors list

# 57,533
acm
Go
spiders
golang
72 commits

laosj(老司机)

Build Status Go Report Card codebeat badge License

logo

基于goquery的轻量级爬图工具。

展示

laosj-demo

CLI

go install github.com/songtianyi/laosj/cmds/laosj

图片源

  • aiss(已不可用)
  ./laosj help aiss
  ./laosj aiss 
  # help
  ./laosj help douban
  # 测试用
  ./laosj douban
  # 火力全开
  ./laosj --all --dir /your/local/disk/path douban --sp 1 --lp 254
  # 随意开火
  ./laosj --all --dir /your/local/disk/path douban --album_id 105181925 --sp 1 --lp 23
  ./laosj help mzitu
  # 测试用
  ./laosj mzitu
  # 火力全开
  ./laosj --all --dir /your/local/disk/path mzitu --sg 15850 --eg 15900
下载
go get -u -v github.com/songtianyi/laosj
安装redis
略,使用redis作为下载队列需安装
golang.org/x依赖安装
mkdir $GOPATH/src/golang.org/x
cd $GOPATH/src/golang.org/x
git clone https://github.com/golang/net.git
编译并运行
cd cmds/laosj/ && go build .
./laosj douban --sp 1

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.