From 794c043fa436938792e0eff8fbdaf0785b2386d8 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 4 Feb 2019 20:03:16 -0800 Subject: [PATCH] fix chrome data dir in wrong folder --- archivebox/archive_methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/archive_methods.py b/archivebox/archive_methods.py index fd4d246d..ad0cbdc8 100644 --- a/archivebox/archive_methods.py +++ b/archivebox/archive_methods.py @@ -588,7 +588,7 @@ def chrome_headless(binary=CHROME_BINARY, user_data_dir=CHROME_USER_DATA_DIR): args = [binary, '--headless'] # '--disable-gpu' if not CHROME_SANDBOX: args.append('--no-sandbox') - default_profile = os.path.expanduser('~/Library/Application Support/Google/Chrome/Default') + default_profile = os.path.expanduser('~/Library/Application Support/Google/Chrome') if user_data_dir: args.append('--user-data-dir={}'.format(user_data_dir)) elif os.path.exists(default_profile):