diff --git a/README.md b/README.md index 8ccfe67..930d435 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ nhentai `-t, --thread` 指定下载的线程数,最多为 10 线程。 `--path` 指定下载文件的输出路径,默认为当前目录。 `--timeout` 指定下载图片的超时时间,默认为 30 秒。 +`--proxy` 指定下载的代理,例如: http://127.0.0.1:8080/ ![](./images/search.png) diff --git a/nhentai/cmdline.py b/nhentai/cmdline.py index 0ab8830..2f276a3 100644 --- a/nhentai/cmdline.py +++ b/nhentai/cmdline.py @@ -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: