mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-12 22:25:44 -04:00
add CHROME_TIMEOUT args
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
cc53eceda2
commit
d77c770c47
7 changed files with 9 additions and 6 deletions
|
@ -260,8 +260,8 @@ def chrome_args(**options) -> List[str]:
|
|||
if options['RESOLUTION']:
|
||||
cmd_args += ('--window-size={}'.format(options['RESOLUTION']),)
|
||||
|
||||
#if options['TIMEOUT']:
|
||||
# cmd_args += ('--timeout={}'.format(options['TIMEOUT'] * 1000),)
|
||||
if options['CHROME_TIMEOUT']:
|
||||
cmd_args += ('--timeout={}'.format(options['CHROME_TIMEOUT'] * 1000),)
|
||||
|
||||
if options['CHROME_USER_DATA_DIR']:
|
||||
cmd_args.append('--user-data-dir={}'.format(options['CHROME_USER_DATA_DIR']))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue