update usages

This commit is contained in:
Ricter Z
2016-10-17 21:43:40 +08:00
parent 0d185f465d
commit 16d3b555c9
7 changed files with 21 additions and 16 deletions

View File

@@ -18,16 +18,10 @@ nhentai
### 用法
+ 下载指定 id 的本子:
nhentai --id=123855
+ 下载指定 id 列表的本子:
nhentai --ids=123855,123866
nhentai --id=123855,123866
+ 下载某关键词第一页的本子(不推荐):
@@ -36,10 +30,17 @@ nhentai
nhentai --search="tomori" --page=1 --download
`-t, --thread` 指定下载的线程数,最多为 10 线程。
`--path` 指定下载文件的输出路径,默认为当前目录。
`--timeout` 指定下载图片的超时时间,默认为 30 秒。
`--proxy` 指定下载的代理,例如: http://127.0.0.1:8080/
`-t, --thread`指定下载的线程数,最多为 10 线程。
`--path`指定下载文件的输出路径,默认为当前目录。
`--timeout`指定下载图片的超时时间,默认为 30 秒。
`--proxy`指定下载的代理,例如: http://127.0.0.1:8080/
### 自建 nhentai 镜像
如果想用自建镜像下载 nhentai 的本子,需要搭建 nhentai.net 和 i.nhentai.net 的反向代理。
例如用 h.loli.club 来做反向代理的话,需要 h.loli.club 反代 nhentai.neti.h.loli.club 反带 i.nhentai.net。
然后利用环境变量来下载:
NHENTAI=http://h.loli.club nhentai --id 123456
![](./images/search.png)