mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -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
|
@ -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,
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue