From c5bb99dce1cfc9f5f873f3d6a63bc1a92295690f Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 18 Mar 2024 14:40:40 -0700 Subject: [PATCH] explicitly use Default profile inside user data dir --- archivebox/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archivebox/util.py b/archivebox/util.py index 3647d538..3814c23f 100644 --- a/archivebox/util.py +++ b/archivebox/util.py @@ -299,10 +299,11 @@ def chrome_args(**options) -> List[str]: if options['CHROME_USER_DATA_DIR']: cmd_args.append('--user-data-dir={}'.format(options['CHROME_USER_DATA_DIR'])) - + cmd_args.append('--profile-directory=Default') return dedupe(cmd_args) + def chrome_cleanup(): """ Cleans up any state or runtime files that chrome leaves behind when killed by