Skip to content

Commit

Permalink
update readme, version
Browse files Browse the repository at this point in the history
  • Loading branch information
raawaa committed Nov 23, 2015
1 parent ac59e7f commit 7086ab6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ $ npm link # 使jav-scrapy全局可执行
-o, --output <file_path> 设置磁链和封面抓取结果的保存位置,默认为当前用户的主目录下的 magnets 文件夹
-s, --search <string> 搜索关键词,可只抓取搜索结果的磁链或封面
-b, --base <url> 自定义抓取的起始页
-x, --proxy <url> 设置代理,例:-x http://127.0.0.1:8087
```

### Examples
Expand All @@ -49,6 +50,9 @@ $ jav -s ipz-634 -o /path/to/folder

# 抓取「连裤袜」主题的所有影片
$ jav -b http://www.javbus.in/genre/28

# 使用代理
$ jav -x http://127.0.0.1:8087
```

## Notes
Expand Down
4 changes: 2 additions & 2 deletions jav.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var pageIndex = 1;
var currentPageHtml = null;

program
.version('0.4.0')
.version('0.5.0')
.usage('[options]')
.option('-p, --parallel <num>', '设置抓取并发连接数,默认值:2', 2)
.option('-t, --timeout <num>', '自定义连接超时时间(毫秒)。默认值:30000毫秒')
Expand Down Expand Up @@ -282,4 +282,4 @@ function getItemCover(link, meta, done) {
}
})
.pipe(coverFileStream);
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jav-scarpy",
"version": "0.4.0",
"version": "0.5.0",
"description": "",
"main": "jav.js",
"repository": {
Expand Down

0 comments on commit 7086ab6

Please sign in to comment.