add CHROME_TIMEOUT args

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-03-14 20:29:41 +09:00
parent cc53eceda2
commit d77c770c47
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
7 changed files with 9 additions and 6 deletions

View file

@ -39,7 +39,7 @@ def save_dom(link: Link, out_dir: Optional[Path]=None, timeout: int=TIMEOUT) ->
output: ArchiveOutput = 'output.html'
output_path = out_dir / output
cmd = [
*chrome_args(TIMEOUT=timeout),
*chrome_args(),
'--dump-dom',
link.url
]