mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 02:41:19 +02:00
add timeout param
This commit is contained in:
parent
cd683cfbac
commit
30fcf2bd33
@ -25,6 +25,8 @@ def cmd_parser():
|
||||
help='path which save the dojinshi')
|
||||
parser.add_option('--threads', '-t', type='int', dest='threads', action='store', default=1,
|
||||
help='thread count of download dojinshi')
|
||||
parser.add_option('--timeout', type='int', dest='timeout', action='store', default=30,
|
||||
help='timeout of download dojinshi')
|
||||
args, _ = parser.parse_args()
|
||||
|
||||
if args.ids:
|
||||
|
Loading…
x
Reference in New Issue
Block a user