update README

This commit is contained in:
Ricter Z 2016-02-04 10:27:34 +08:00
parent 4a0f09b052
commit c226ff5587
2 changed files with 2 additions and 1 deletions

View File

@ -38,6 +38,7 @@ nhentai
`-t, --thread` 指定下载的线程数,最多为 10 线程。
`--path` 指定下载文件的输出路径,默认为当前目录。
`--timeout` 指定下载图片的超时时间,默认为 30 秒。
`--proxy` 指定下载的代理,例如: http://127.0.0.1:8080/
![](./images/search.png)

View File

@ -35,7 +35,7 @@ def cmd_parser():
parser.add_option('--timeout', type='int', dest='timeout', action='store', default=30,
help='timeout of download doujinshi')
parser.add_option('--proxy', type='string', dest='proxy', action='store', default='',
help='use proxy, example: socks5://127.0.0.1:1080')
help='use proxy, example: http://127.0.0.1:1080')
args, _ = parser.parse_args()
if args.ids: