From 7086ab6b00a54bad614c9e4d460f25b1c1989efa Mon Sep 17 00:00:00 2001 From: raawaa Date: Mon, 23 Nov 2015 22:53:46 +0800 Subject: [PATCH] update readme, version --- README.md | 4 ++++ jav.js | 4 ++-- package.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8e3109c..286ef58 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ $ npm link # 使jav-scrapy全局可执行 -o, --output 设置磁链和封面抓取结果的保存位置,默认为当前用户的主目录下的 magnets 文件夹 -s, --search 搜索关键词,可只抓取搜索结果的磁链或封面 -b, --base 自定义抓取的起始页 + -x, --proxy 设置代理,例:-x http://127.0.0.1:8087 ``` ### Examples @@ -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 diff --git a/jav.js b/jav.js index 04cca3e..87e198b 100755 --- a/jav.js +++ b/jav.js @@ -19,7 +19,7 @@ var pageIndex = 1; var currentPageHtml = null; program - .version('0.4.0') + .version('0.5.0') .usage('[options]') .option('-p, --parallel ', '设置抓取并发连接数,默认值:2', 2) .option('-t, --timeout ', '自定义连接超时时间(毫秒)。默认值:30000毫秒') @@ -282,4 +282,4 @@ function getItemCover(link, meta, done) { } }) .pipe(coverFileStream); -} \ No newline at end of file +} diff --git a/package.json b/package.json index 76ffa28..eeddfd9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jav-scarpy", - "version": "0.4.0", + "version": "0.5.0", "description": "", "main": "jav.js", "repository": {