From 3f986f09ccd74d4ab826108d32e0a35cd6766564 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Thu, 3 Oct 2024 04:16:42 -0700 Subject: [PATCH] fix relative dir calculation in extraactor hook --- archivebox/abx/archivebox/base_extractor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/abx/archivebox/base_extractor.py b/archivebox/abx/archivebox/base_extractor.py index be4647ca..7391f106 100644 --- a/archivebox/abx/archivebox/base_extractor.py +++ b/archivebox/abx/archivebox/base_extractor.py @@ -84,7 +84,7 @@ class BaseExtractor(BaseHook): assert uplink.machine == installed_binary.machine # it would be *very* weird if this wasn't true # output_dir = self.get_output_path(snapshot) or CONSTANTS.TMP_DIR - output_dir = CONSTANTS.TMP_DIR / 'test' + output_dir = CONSTANTS.DATA_DIR / '.tmp' / 'extractors' / self.name / str(snapshot.abid) output_dir.mkdir(parents=True, exist_ok=True) # execute the extractor binary with the given args