diff --git a/README.md b/README.md index c7f7d8e..e7d04d4 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,8 @@ nhentai --login "username:password" --download `--timeout`:指定下载图片的超时时间,默认为 30 秒。 `--proxy`:指定下载的代理,例如: http://127.0.0.1:8080/ `--login`:nhentai 账号的“用户名:密码”组合 +`--nohtml`:nhentai Don't generate HTML +`--cbz`:nhentai Generate Comic Book CBZ file ### nHentai Mirror 如果想用自建镜像下载 nhentai 的本子,需要搭建 nhentai.net 和 i.nhentai.net 的反向代理。 diff --git a/nhentai/cmdline.py b/nhentai/cmdline.py index ffff67c..1cb58a0 100644 --- a/nhentai/cmdline.py +++ b/nhentai/cmdline.py @@ -60,7 +60,7 @@ def cmd_parser(): help='Don\'t generate HTML') parser.add_option('--cbz', dest='is_cbz', action='store_true', - help='Generate ComicBook CBZ File') + help='Generate Comic Book CBZ File') try: sys.argv = list(map(lambda x: unicode(x.decode(sys.stdin.encoding)), sys.argv)) diff --git a/nhentai/command.py b/nhentai/command.py index 82a2fd6..309306c 100644 --- a/nhentai/command.py +++ b/nhentai/command.py @@ -48,7 +48,7 @@ def main(): doujinshi.downloader = downloader doujinshi.download() if not options.is_nohtml and not options.is_cbz: - generate_html(options.output_dir, doujinshi) + generate_html(options.output_dir, doujinshi) elif options.is_cbz: generate_cbz(options.output_dir, doujinshi)