mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-12 23:47:17 +00:00
fix relative dir calculation in extraactor hook
This commit is contained in:
parent
faa3f03edd
commit
3f986f09cc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue