https://github.com/songtianyi/laosj
golang light-weight image crawler
https://github.com/songtianyi/laosj
aiss crawler douban downloader girls image meizitu sexy spiders
Last synced: 5 months ago
JSON representation
golang light-weight image crawler
- Host: GitHub
- URL: https://github.com/songtianyi/laosj
- Owner: songtianyi
- License: apache-2.0
- Created: 2016-12-02T09:19:39.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-09T07:15:16.000Z (almost 8 years ago)
- Last Synced: 2024-06-18T15:38:38.812Z (about 2 years ago)
- Topics: aiss, crawler, douban, downloader, girls, image, meizitu, sexy, spiders
- Language: Go
- Size: 65.4 KB
- Stars: 206
- Watchers: 19
- Forks: 38
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## laosj(老司机)
[](https://travis-ci.org/songtianyi/laosj)
[](https://goreportcard.com/report/github.com/songtianyi/laosj)
[](https://codebeat.co/projects/github-com-songtianyi-laosj)
[](https://opensource.org/licenses/Apache-2.0)
[](https://github.com/songtianyi/laosj)
基于goquery的轻量级爬图工具。
### 展示

### CLI
```shell
go install github.com/songtianyi/laosj/cmds/laosj
```
### 图片源
* aiss(已不可用)
```shell
./laosj help aiss
./laosj aiss
```
* [douban相册](https://www.douban.com/photos/album/105181925/)
```shell
# 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
```
* [妹子图](http://meizitu.com/)
```shell
./laosj help mzitu
# 测试用
./laosj mzitu
# 火力全开
./laosj --all --dir /your/local/disk/path mzitu --sg 15850 --eg 15900
```
* [妹子图自拍](http://www.mzitu.com/zipai/)(待重构)
* [javlibrary](http://www.javlibrary.com/cn/)(待重构)
### 代码上手
###### 下载
```shell
go get -u -v github.com/songtianyi/laosj
```
###### 安装redis
略,使用redis作为下载队列需安装
###### golang.org/x依赖安装
```shell
mkdir $GOPATH/src/golang.org/x
cd $GOPATH/src/golang.org/x
git clone https://github.com/golang/net.git
```
###### 编译并运行
```shell
cd cmds/laosj/ && go build .
./laosj douban --sp 1
```