module
Version:
v0.0.0-...-760f784
Opens a new window with list of versions in this module.
Published: Sep 9, 2018
License: Apache-2.0
Opens a new window with license information.
README
¶
laosj(老司机)
![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)
![logo](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTaiDDQDv9P90h7lu9jARb1O8i6hmVMpgEuK9qY57l0CZjRVue2)
基于goquery的轻量级爬图工具。
展示
![laosj-demo](http://owm6k6w0y.bkt.clouddn.com/laosj-demo.gif)
CLI
go install github.com/songtianyi/laosj/cmds/laosj
图片源
-
aiss(已不可用)
./laosj help aiss
./laosj aiss
-
douban相册
# 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
-
妹子图自拍(待重构)
-
javlibrary(待重构)
代码上手
下载
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
Directories
¶
cmds
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.