mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-15 11:04:17 +02:00
explicitly use Default profile inside user data dir
This commit is contained in:
@@ -299,10 +299,11 @@ def chrome_args(**options) -> List[str]:
|
|||||||
|
|
||||||
if options['CHROME_USER_DATA_DIR']:
|
if options['CHROME_USER_DATA_DIR']:
|
||||||
cmd_args.append('--user-data-dir={}'.format(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)
|
return dedupe(cmd_args)
|
||||||
|
|
||||||
|
|
||||||
def chrome_cleanup():
|
def chrome_cleanup():
|
||||||
"""
|
"""
|
||||||
Cleans up any state or runtime files that chrome leaves behind when killed by
|
Cleans up any state or runtime files that chrome leaves behind when killed by
|
||||||
|
Reference in New Issue
Block a user