mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 11:01:17 +02:00
update README
This commit is contained in:
parent
4a0f09b052
commit
c226ff5587
@ -38,6 +38,7 @@ nhentai
|
|||||||
`-t, --thread` 指定下载的线程数,最多为 10 线程。
|
`-t, --thread` 指定下载的线程数,最多为 10 线程。
|
||||||
`--path` 指定下载文件的输出路径,默认为当前目录。
|
`--path` 指定下载文件的输出路径,默认为当前目录。
|
||||||
`--timeout` 指定下载图片的超时时间,默认为 30 秒。
|
`--timeout` 指定下载图片的超时时间,默认为 30 秒。
|
||||||
|
`--proxy` 指定下载的代理,例如: http://127.0.0.1:8080/
|
||||||
|
|
||||||
|
|
||||||

|

|
||||||
|
@ -35,7 +35,7 @@ def cmd_parser():
|
|||||||
parser.add_option('--timeout', type='int', dest='timeout', action='store', default=30,
|
parser.add_option('--timeout', type='int', dest='timeout', action='store', default=30,
|
||||||
help='timeout of download doujinshi')
|
help='timeout of download doujinshi')
|
||||||
parser.add_option('--proxy', type='string', dest='proxy', action='store', default='',
|
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()
|
args, _ = parser.parse_args()
|
||||||
|
|
||||||
if args.ids:
|
if args.ids:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user