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

@ -37,7 +37,7 @@ def save_screenshot(link: Link, out_dir: Optional[Path]=None, timeout: int=TIMEO
out_dir = out_dir or Path(link.link_dir)
output: ArchiveOutput = 'screenshot.png'
cmd = [
*chrome_args(TIMEOUT=timeout),
*chrome_args(),
'--screenshot',
link.url,
]