diff --git a/archivebox/personas/models.py b/archivebox/personas/models.py index da4d6556..a8da9fe9 100644 --- a/archivebox/personas/models.py +++ b/archivebox/personas/models.py @@ -253,11 +253,12 @@ class Persona(ModelWithConfig): runtime_downloads_dir = self.runtime_downloads_dir_for_crawl(crawl) with self.lock_runtime_for_crawl(): - if not runtime_profile_dir.exists(): - if template_dir.exists() and any(template_dir.iterdir()): - self.copy_chrome_profile(template_dir, runtime_profile_dir) - else: - runtime_profile_dir.mkdir(parents=True, exist_ok=True) + if runtime_root.exists(): + shutil.rmtree(runtime_root, ignore_errors=True) + if template_dir.exists() and any(template_dir.iterdir()): + self.copy_chrome_profile(template_dir, runtime_profile_dir) + else: + runtime_profile_dir.mkdir(parents=True, exist_ok=True) runtime_downloads_dir.mkdir(parents=True, exist_ok=True) self.cleanup_chrome_profile(runtime_profile_dir) diff --git a/pyproject.toml b/pyproject.toml index 31447254..d93ad78b 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "archivebox" -version = "0.9.30rc82" +version = "0.9.30rc83" requires-python = ">=3.13" description = "Self-hosted internet archiving solution." authors = [{name = "Nick Sweeting", email = "pyproject.toml@archivebox.io"}] @@ -80,8 +80,8 @@ dependencies = [ ### Binary/Package Management "abxbus>=2.5.4", # EventBus API "abxpkg>=1.10.7", # for: detecting, versioning, and installing binaries via apt/brew/pip/npm - "abx-plugins>=1.10.59", # shared ArchiveBox plugin package with Chrome/Puppeteer dependency wiring - "abx-dl>=1.10.59", # shared ArchiveBox downloader package with blocking install preflight + "abx-plugins>=1.10.60", # shared ArchiveBox plugin package with Chrome/Puppeteer dependency wiring + "abx-dl>=1.10.60", # shared ArchiveBox downloader package with blocking install preflight ### UUID7 backport for Python <3.14 "uuid7>=0.1.0; python_version < '3.14'", # provides the uuid_extensions module on Python 3.13 ]